diff --git a/src/api/core/organizations.rs b/src/api/core/organizations.rs index f57d8506..25cd5355 100644 --- a/src/api/core/organizations.rs +++ b/src/api/core/organizations.rs @@ -611,7 +611,6 @@ async fn post_organization_collection_delete( #[allow(non_snake_case)] struct BulkCollectionIds { Ids: Vec, - OrganizationId: String, } #[delete("/organizations//collections", data = "")] @@ -622,9 +621,6 @@ async fn bulk_delete_organization_collections( mut conn: DbConn, ) -> EmptyResult { let data: BulkCollectionIds = data.into_inner().data; - if org_id != data.OrganizationId { - err!("OrganizationId mismatch"); - } let collections = data.Ids;