mirror of
https://github.com/bitwarden/browser.git
synced 2024-08-29 23:49:50 +02:00
Must await to get a value (#1035)
This commit is contained in:
parent
44bf90cf6a
commit
c1a7b85f8b
|
@ -45,7 +45,7 @@ export class HtmlStorageService implements StorageService {
|
|||
}
|
||||
|
||||
async has(key: string): Promise<boolean> {
|
||||
return this.get(key) != null;
|
||||
return await this.get(key) != null;
|
||||
}
|
||||
|
||||
save(key: string, obj: any): Promise<any> {
|
||||
|
|
Loading…
Reference in New Issue
Block a user