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

update collection service to use new crypto service

This commit is contained in:
Jacob Fink
2023-05-30 13:21:22 -04:00
parent 46abba2135
commit 82bc7662a1

View File

@@ -79,7 +79,7 @@ export class CollectionService implements CollectionServiceAbstraction {
return decryptedCollections;
}
const hasKey = await this.cryptoService.hasKey();
const hasKey = await this.cryptoService.hasUserKey();
if (!hasKey) {
throw new Error("No key.");
}