always read from source

This commit is contained in:
Kyle Spearrin 2018-06-01 12:33:38 -04:00
parent c512b9b3ce
commit 9b3fddbd33
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export class LowdbStorageService implements StorageService {
} }
get<T>(key: string): Promise<T> { get<T>(key: string): Promise<T> {
const val = this.db.get(key).value(); const val = this.db.read().get(key).value();
if (val == null) { if (val == null) {
return Promise.resolve(null); return Promise.resolve(null);
} }