aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/db/models/organization.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/db/models/organization.rs b/src/db/models/organization.rs
index c755a061..498e64ea 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