mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-29 04:17:41 +02:00
[bug] Store last sync in memory (#1471)
This commit is contained in:
parent
1712ed53be
commit
9df4eb4c0d
@ -92,4 +92,14 @@ export class StateService
|
||||
options = this.reconcileOptions(options, this.defaultInMemoryOptions);
|
||||
return await super.setEncryptedSends(value, options);
|
||||
}
|
||||
|
||||
override async getLastSync(options?: StorageOptions): Promise<string> {
|
||||
options = this.reconcileOptions(options, this.defaultInMemoryOptions);
|
||||
return await super.getLastSync(options);
|
||||
}
|
||||
|
||||
override async setLastSync(value: string, options?: StorageOptions): Promise<void> {
|
||||
options = this.reconcileOptions(options, this.defaultInMemoryOptions);
|
||||
return await super.setLastSync(value, options);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user