mirror of
https://github.com/bitwarden/browser
synced 2026-01-30 16:23:53 +00:00
consume decryption failure from the sdk for attachments
This commit is contained in:
@@ -99,6 +99,7 @@ export class AttachmentView implements View {
|
||||
// TODO: PM-23005 - Temporary field, should be removed when encrypted migration is complete
|
||||
view.key = obj.decryptedKey ? SymmetricCryptoKey.fromString(obj.decryptedKey) : undefined;
|
||||
view.encryptedKey = obj.key ? new EncString(obj.key) : undefined;
|
||||
view._hasDecryptionError = obj.decryptionFailure;
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user