Skip to content

Commit

Permalink
docs: Update account's vaultCipher relationships format
Browse files Browse the repository at this point in the history
In #119 we wrongly introduced
an array in io.cozy.account's vaultCipher relationships. This could let
somebody think that an account can have a relationship to multiple
ciphers, which is not the case. Since an account can only be linked to
one cipher, the value of `relationships.vaultCipher.data` should be an
object.
  • Loading branch information
drazik committed Jan 17, 2020
1 parent be793d9 commit 82ef3cf
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions docs/io.cozy.accounts.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@ An account can be synced in a password manager. In that case, the `vaultCipher`
{
"relationships": {
"vaultCipher": {
"data": [
{
"_id": "123abc",
"_type": "com.bitwarden.ciphers",
"_protocol": "bitwarden"
}
]
"data": {
"_id": "123abc",
"_type": "com.bitwarden.ciphers",
"_protocol": "bitwarden"
}
}
}
}
Expand Down

0 comments on commit 82ef3cf

Please sign in to comment.