diff --git a/src/Core/Vault/Services/Implementations/CipherService.cs b/src/Core/Vault/Services/Implementations/CipherService.cs index f2cb69539..6fdb39529 100644 --- a/src/Core/Vault/Services/Implementations/CipherService.cs +++ b/src/Core/Vault/Services/Implementations/CipherService.cs @@ -213,6 +213,7 @@ public class CipherService : ICipherService // Update the revision date when an attachment is added cipher.RevisionDate = DateTime.UtcNow; + await _cipherRepository.ReplaceAsync((CipherDetails)cipher); await _pushService.PushSyncCipherUpdateAsync(cipher, null); @@ -265,6 +266,7 @@ public class CipherService : ICipherService // Update the revision date when an attachment is added cipher.RevisionDate = DateTime.UtcNow; + await _cipherRepository.ReplaceAsync((CipherDetails)cipher); // push await _pushService.PushSyncCipherUpdateAsync(cipher, null); @@ -1030,6 +1032,7 @@ public class CipherService : ICipherService // Update the revision date when an attachment is deleted cipher.RevisionDate = DateTime.UtcNow; + await _cipherRepository.ReplaceAsync((CipherDetails)cipher); // push await _pushService.PushSyncCipherUpdateAsync(cipher, null);