Browse Source

[bug] Store last sync in memory (#1471)

pull/1477/head
Addison Beck 4 years ago committed by GitHub
parent
commit
9df4eb4c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/services/state.service.ts

10
src/services/state.service.ts

@ -92,4 +92,14 @@ export class StateService @@ -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…
Cancel
Save