From c1a7b85f8bf65654b98f5014f8315dfa2717e9f3 Mon Sep 17 00:00:00 2001 From: Matt Gibson Date: Wed, 16 Jun 2021 08:36:05 -0500 Subject: [PATCH] Must await to get a value (#1035) --- src/services/htmlStorage.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/htmlStorage.service.ts b/src/services/htmlStorage.service.ts index 5e44abc38b..79fd8d34d1 100644 --- a/src/services/htmlStorage.service.ts +++ b/src/services/htmlStorage.service.ts @@ -45,7 +45,7 @@ export class HtmlStorageService implements StorageService { } async has(key: string): Promise { - return this.get(key) != null; + return await this.get(key) != null; } save(key: string, obj: any): Promise {