diff --git a/src/services/lowdbStorage.service.ts b/src/services/lowdbStorage.service.ts index 8aab0eae5a..396b6e8c93 100644 --- a/src/services/lowdbStorage.service.ts +++ b/src/services/lowdbStorage.service.ts @@ -36,6 +36,9 @@ export class LowdbStorageService implements StorageService { get(key: string): Promise { const val = this.db.get(key).value(); + if (val == null) { + return Promise.resolve(null); + } return Promise.resolve(val as T); }