mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
update collection service to use new crypto service
This commit is contained in:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user