From d0fcc6b953744b80219d32acc3389796688018c5 Mon Sep 17 00:00:00 2001 From: Stephen <11358399+nixuno@users.noreply.github.com> Date: Fri, 16 May 2025 10:28:36 -0400 Subject: [PATCH] Remove parenthesis --- src/api/core/ciphers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {