1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-15 23:42:31 +00:00

Rename collection_user_details to collection_read_only to reflect the response model

This commit is contained in:
theycallmesteve 2020-05-08 13:37:40 -04:00
commit 6a8c65493f
No known key found for this signature in database
GPG key ID: 6240923F65CC698D
2 changed files with 2 additions and 2 deletions

View file

@ -304,7 +304,7 @@ impl UserOrganization {
})
}
pub fn to_json_collection_user_details(&self, read_only: bool) -> Value {
pub fn to_json_read_only(&self, read_only: bool) -> Value {
json!({
"Id": self.uuid,
"ReadOnly": read_only