1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-28 12:45:45 +01:00

Await promises, even in async functions

This commit is contained in:
Matt Gibson 2022-08-31 17:03:21 -04:00
parent df40c8b391
commit 719a6d095e
No known key found for this signature in database
GPG Key ID: A2275080D765C2D7

View File

@ -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> {