1
0
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:
Addison Beck 2022-02-11 03:39:48 -05:00 committed by GitHub
parent 1712ed53be
commit 9df4eb4c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}