From 97a78d91313d34e4f88cd394f36c48d7b9838754 Mon Sep 17 00:00:00 2001 From: Nick Krantz Date: Wed, 8 Oct 2025 10:59:29 -0500 Subject: [PATCH] remove comment --- src/Api/Vault/Models/Request/CipherRequestModel.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Api/Vault/Models/Request/CipherRequestModel.cs b/src/Api/Vault/Models/Request/CipherRequestModel.cs index f784f2cd73..18a1aec559 100644 --- a/src/Api/Vault/Models/Request/CipherRequestModel.cs +++ b/src/Api/Vault/Models/Request/CipherRequestModel.cs @@ -310,10 +310,6 @@ public class CipherRequestModel ? new Dictionary() : JsonSerializer.Deserialize>(existingJson) ?? new Dictionary(); - // Remove the key from the value when: - // - new value is null - // - new value is an empty or whitespace string - // - new value is a boolean false var shouldRemove = newValue == null || (newValue is string strValue && string.IsNullOrWhiteSpace(strValue)) || (newValue is bool boolValue && !boolValue);