diff options
author | Daniel GarcĂa <[email protected]> | 2021-12-24 20:40:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-12-24 20:40:07 +0100 |
commit | bda123b1eb527067038349cc6ad64add1bc678c5 (patch) | |
tree | e591045ff6c24580c3aea67fa1af76064afa58b4 | |
parent | 0a5df06e77fb2359dbe0496e1e669e6d5b42cde5 (diff) | |
parent | 4bd8eae07e7e76fc35a0adf02f01bb3df5e446f5 (diff) | |
download | vaultwarden-bda123b1eb527067038349cc6ad64add1bc678c5.tar.gz vaultwarden-bda123b1eb527067038349cc6ad64add1bc678c5.zip |
Merge pull request #2169 from BlackDex/issue-2151
Fixed #2151
-rw-r--r-- | src/api/core/organizations.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs index 6b6d4547..fa79c39c 100644 --- 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) |