mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
Await promises, even in async functions
This commit is contained in:
@@ -98,7 +98,7 @@ export class EncryptService implements AbstractEncryptService {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.cryptoFunctionService.aesDecryptFast(fastParams);
|
return await this.cryptoFunctionService.aesDecryptFast(fastParams);
|
||||||
}
|
}
|
||||||
|
|
||||||
async decryptToBytes(encThing: IEncrypted, key: SymmetricCryptoKey): Promise<ArrayBuffer> {
|
async decryptToBytes(encThing: IEncrypted, key: SymmetricCryptoKey): Promise<ArrayBuffer> {
|
||||||
|
|||||||
Reference in New Issue
Block a user