mirror of
https://github.com/bitwarden/server
synced 2026-01-04 01:23:25 +00:00
[PM-11249] Update cipher revision date when an attachment is added or deleted (#4873)
* update the cipher revision date when an attachment is added or deleted * store the updated cipher in the DB when an attachment is altered * return cipher from delete attachment endpoint
This commit is contained in:
13
src/Core/Vault/Models/Data/DeleteAttachmentReponseData.cs
Normal file
13
src/Core/Vault/Models/Data/DeleteAttachmentReponseData.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using Bit.Core.Vault.Entities;
|
||||
|
||||
namespace Bit.Core.Vault.Models.Data;
|
||||
|
||||
public class DeleteAttachmentResponseData
|
||||
{
|
||||
public Cipher Cipher { get; set; }
|
||||
|
||||
public DeleteAttachmentResponseData(Cipher cipher)
|
||||
{
|
||||
Cipher = cipher;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user