diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs index c755a06..498e64e 100644 --- a/src/db/models/organization.rs +++ b/src/db/models/organization.rs @@ -293,8 +293,6 @@ impl UserOrganization { } pub fn to_json_collection_user_details(&self, read_only: bool, conn: &DbConn) -> Value { - let user = User::find_by_uuid(&self.user_uuid, conn).unwrap(); - json!({ "Id": self.uuid, "ReadOnly": read_only