Must await to get stored value (#1899)

This commit is contained in:
Matt Gibson 2021-06-16 08:36:14 -05:00 committed by GitHub
parent c19d4f882d
commit 5251ed2853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export default class BrowserStorageService implements StorageService {
}
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> {