We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84b4445 commit b6bfc9fCopy full SHA for b6bfc9f
src/Api/Models/Request/CipherRequestModel.cs
@@ -22,6 +22,7 @@ public class CipherRequestModel
22
public string FolderId { get; set; }
23
public bool Favorite { get; set; }
24
public CipherRepromptType Reprompt { get; set; }
25
+ public EncObject Data { get; set; }
26
[Required]
27
[EncryptedString]
28
[EncryptedStringLength(1000)]
@@ -86,7 +87,7 @@ public Cipher ToCipher(Cipher existingCipher)
86
87
existingCipher.Data = JsonSerializer.Serialize(ToCipherSecureNoteData(), JsonHelpers.IgnoreWritingNull);
88
break;
89
default:
- //existingCipher.Data = JsonSerializer.Serialize(ToCipherCustomData(), JsonHelpers.IgnoreWritingNull);
90
+ existingCipher.Data = JsonSerializer.Serialize(Data, JsonHelpers.IgnoreWritingNull);
91
92
}
93
0 commit comments