mirror of
https://github.com/bitwarden/browser
synced 2025-12-20 18:23:31 +00:00
Must await to get stored value (#1899)
This commit is contained in:
@@ -20,7 +20,7 @@ export default class BrowserStorageService 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;
|
||||||
}
|
}
|
||||||
|
|
||||||
async save(key: string, obj: any): Promise<any> {
|
async save(key: string, obj: any): Promise<any> {
|
||||||
|
|||||||
Reference in New Issue
Block a user