mirror of
https://github.com/bitwarden/web
synced 2025-12-11 05:43:16 +00:00
[bug] Store last sync in memory (#1471)
This commit is contained in:
@@ -92,4 +92,14 @@ export class StateService
|
|||||||
options = this.reconcileOptions(options, this.defaultInMemoryOptions);
|
options = this.reconcileOptions(options, this.defaultInMemoryOptions);
|
||||||
return await super.setEncryptedSends(value, options);
|
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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user