Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
always read from source
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Jun 1, 2018
1 parent c512b9b commit 9b3fddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/lowdbStorage.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class LowdbStorageService implements StorageService {
}

get<T>(key: string): Promise<T> {
const val = this.db.get(key).value();
const val = this.db.read().get(key).value();
if (val == null) {
return Promise.resolve(null);
}
Expand Down

0 comments on commit 9b3fddb

Please sign in to comment.