mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
always read from source
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user