mirror of
https://github.com/bitwarden/mobile
synced 2025-12-05 23:53:33 +00:00
PM-2572 Fix pr comment
This commit is contained in:
@@ -576,7 +576,7 @@ namespace Bit.Core.Services
|
||||
var attachmentTasks = new List<Task>();
|
||||
Cipher cipher = null;
|
||||
//If the cipher doesn't have a key, we update it
|
||||
if(await ShouldUseCipherKeyEncryptionAsync() && cipherView.Key == null)
|
||||
if(cipherView.Key == null && await ShouldUseCipherKeyEncryptionAsync())
|
||||
{
|
||||
await UpdateAndUpsertAsync(cipherView, cipher => _apiService.PutCipherAsync(cipherView.Id, new CipherRequest(cipher)));
|
||||
cipher = await GetAsync(cipherView.Id);
|
||||
|
||||
Reference in New Issue
Block a user