mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
Remove extra call to toJSON() (#4101)
This commit is contained in:
parent
d7d6347628
commit
be56d29ba0
@ -114,7 +114,7 @@ export class NativeMessageHandlerService {
|
||||
|
||||
const secret = await this.cryptoFunctionService.randomBytes(64);
|
||||
this.ddgSharedSecret = new SymmetricCryptoKey(secret);
|
||||
const sharedKeyB64 = new SymmetricCryptoKey(secret).toJSON().keyB64;
|
||||
const sharedKeyB64 = new SymmetricCryptoKey(secret).keyB64;
|
||||
|
||||
await this.stateService.setDuckDuckGoSharedKey(sharedKeyB64);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user