Fix editing users from collections menu

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

No files matched your search

+1 -1
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