1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 07:43:54 +00:00

update cipher service and tests

This commit is contained in:
jaasen-livefront
2025-12-03 17:12:05 -08:00
parent 23b5c76b86
commit b24edfac43
2 changed files with 3 additions and 0 deletions

View File

@@ -723,6 +723,7 @@ public class CipherService : ICipherService
// If the cipher was archived, clear the archived date when soft deleting
// If a user were to restore an archived cipher, it should go back to the vault not the archive vault
cipherDetails.ArchivedDate = null;
cipherDetails.Archives = null;
}
await _securityTaskRepository.MarkAsCompleteByCipherIds([cipherDetails.Id]);