1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-02-25 02:51:59 +01:00

update sync service to use new crypto service methods

This commit is contained in:
Jacob Fink 2023-05-30 12:52:42 -04:00
parent 51d744132b
commit 076ab184fd
No known key found for this signature in database
GPG Key ID: C2F7ACF05859D008

View File

@ -303,8 +303,8 @@ export class SyncService implements SyncServiceAbstraction {
throw new Error("Stamp has changed");
}
await this.cryptoService.setEncKey(response.key);
await this.cryptoService.setEncPrivateKey(response.privateKey);
await this.cryptoService.setUserSymKeyMasterKey(response.key);
await this.cryptoService.setPrivateKey(response.privateKey);
await this.cryptoService.setProviderKeys(response.providers);
await this.cryptoService.setOrgKeys(response.organizations, response.providerOrganizations);
await this.stateService.setAvatarColor(response.avatarColor);