diff --git a/src/api/core/ciphers.rs b/src/api/core/ciphers.rs index 2d9bf2a8..aee37edb 100644 --- a/src/api/core/ciphers.rs +++ b/src/api/core/ciphers.rs @@ -784,7 +784,7 @@ async fn post_bulk_collections( } // If the request is for mass adding collections, we need remove the cipher from all collections first. - if (!data.remove_collections) { + if !data.remove_collections { CollectionCipher::delete_all_by_cipher(&cipher.uuid, &mut conn).await?; } for collection in &data.collection_ids {