From 4d6ae5741fdea0a5ebbf78306e78940eb5f30384 Mon Sep 17 00:00:00 2001 From: Thomas Avery Date: Fri, 25 Oct 2024 11:02:51 -0500 Subject: [PATCH] update request model --- .../Models/Requests/KeyRegenerationRequestModel.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Api/KeyManagement/Models/Requests/KeyRegenerationRequestModel.cs b/src/Api/KeyManagement/Models/Requests/KeyRegenerationRequestModel.cs index 9d148b517..495d13ccc 100644 --- a/src/Api/KeyManagement/Models/Requests/KeyRegenerationRequestModel.cs +++ b/src/Api/KeyManagement/Models/Requests/KeyRegenerationRequestModel.cs @@ -1,5 +1,4 @@ #nullable enable -using System.ComponentModel.DataAnnotations; using Bit.Core.KeyManagement.Models.Data; using Bit.Core.Utilities; @@ -7,10 +6,8 @@ namespace Bit.Api.KeyManagement.Models.Requests; public class KeyRegenerationRequestModel { - [Required] public required string UserPublicKey { get; set; } - [Required] [EncryptedString] public required string UserKeyEncryptedUserPrivateKey { get; set; }