1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

Fix account key (de)serialization

This commit is contained in:
Matt Gibson
2022-09-12 20:06:47 -04:00
parent 5370cc463d
commit b1dffb5c2c
5 changed files with 93 additions and 31 deletions

View File

@@ -84,7 +84,7 @@ export class CryptoService implements CryptoServiceAbstraction {
}
async setProviderKeys(providers: ProfileProviderResponse[]): Promise<void> {
const providerKeys: any = {};
const providerKeys: Record<string, string> = {};
providers.forEach((provider) => {
providerKeys[provider.id] = provider.key;
});