mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Move lastSync State (#10272)
This commit is contained in:
@@ -699,6 +699,7 @@ export class ServiceContainer {
|
||||
this.billingAccountProfileStateService,
|
||||
this.tokenService,
|
||||
this.authService,
|
||||
this.stateProvider,
|
||||
);
|
||||
|
||||
this.totpService = new TotpService(this.cryptoFunctionService, this.logService);
|
||||
@@ -772,7 +773,6 @@ export class ServiceContainer {
|
||||
const userId = (await this.stateService.getUserId()) as UserId;
|
||||
await Promise.all([
|
||||
this.eventUploadService.uploadEvents(userId as UserId),
|
||||
this.syncService.setLastSync(new Date(0)),
|
||||
this.cryptoService.clearKeys(),
|
||||
this.cipherService.clear(userId),
|
||||
this.folderService.clear(userId),
|
||||
|
||||
Reference in New Issue
Block a user