Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

Commit

Permalink
[bug] Store last sync in memory (#1471)
Browse files Browse the repository at this point in the history
  • Loading branch information
addisonbeck committed Feb 11, 2022
1 parent d948580 commit aa42890
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/services/state.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit aa42890

Please sign in to comment.