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:
@@ -79,7 +79,7 @@ export class CollectionService implements CollectionServiceAbstraction {
|
|||||||
return decryptedCollections;
|
return decryptedCollections;
|
||||||
}
|
}
|
||||||
|
|
||||||
const hasKey = await this.cryptoService.hasKey();
|
const hasKey = await this.cryptoService.hasUserKey();
|
||||||
if (!hasKey) {
|
if (!hasKey) {
|
||||||
throw new Error("No key.");
|
throw new Error("No key.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user