Fix editing users from collections menu

This commit is contained in:
Daniel García
2019-01-25 17:43:51 +01:00
parent 80414f8452
commit 86de0ca17b
3 changed files with 40 additions and 3 deletions

View File

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