1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00: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

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