commit 4bd8eae07e7e76fc35a0adf02f01bb3df5e446f5
parent 0a5df06e77fb2359dbe0496e1e669e6d5b42cde5
Author: BlackDex <black.dex@gmail.com>
Date: Fri, 24 Dec 2021 17:59:12 +0100
Fixed #2151
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs
@@ -235,7 +235,7 @@ fn get_user_collections(headers: Headers, conn: DbConn) -> Json<Value> {
}
#[get("/organizations/<org_id>/collections")]
-fn get_org_collections(org_id: String, _headers: AdminHeaders, conn: DbConn) -> Json<Value> {
+fn get_org_collections(org_id: String, _headers: ManagerHeadersLoose, conn: DbConn) -> Json<Value> {
Json(json!({
"Data":
Collection::find_by_organization(&org_id, &conn)