mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Must await to get a value (#1035)
This commit is contained in:
@@ -45,7 +45,7 @@ export class HtmlStorageService implements StorageService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async has(key: string): Promise<boolean> {
|
async has(key: string): Promise<boolean> {
|
||||||
return this.get(key) != null;
|
return await this.get(key) != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
save(key: string, obj: any): Promise<any> {
|
save(key: string, obj: any): Promise<any> {
|
||||||
|
|||||||
Reference in New Issue
Block a user