1
0
mirror of https://github.com/bitwarden/web synced 2026-01-17 07:53:15 +00:00

Must await to get a value (#1035)

(cherry picked from commit c1a7b85f8b)
This commit is contained in:
Matt Gibson
2021-06-16 08:36:05 -05:00
parent cdf172f2a1
commit 3dec25a607

View File

@@ -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> {