1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00

Resolve inconsistent prefix

This commit is contained in:
Bernd Schoolmann
2025-10-30 10:46:33 +01:00
parent 70326599c6
commit ad39f51db2

View File

@@ -68,7 +68,7 @@ export class DefaultEncryptedMigrationsSchedulerService
userIds.map((userId) =>
combineLatest([
this.authService.authStatusFor$(userId),
this.syncService.lastSync$(userId).pipe(filter(lastSync => lastSync != null)),
this.syncService.lastSync$(userId).pipe(filter((lastSync) => lastSync != null)),
]).pipe(
filter(([authStatus]) => authStatus === AuthenticationStatus.Unlocked),
map(([, lastSync]) => ({ userId, lastSync }) as UserSyncData),
@@ -125,7 +125,7 @@ export class DefaultEncryptedMigrationsSchedulerService
await this.encryptedMigrator.runMigrations(userId, null);
} catch (error) {
this.logService.error(
"[EncryptedMigrationsInitiator] Error during migration without interaction",
"[EncryptedMigrationsScheduler] Error during migration without interaction",
error,
);
}
@@ -143,7 +143,7 @@ export class DefaultEncryptedMigrationsSchedulerService
if (hoursDiff < DISMISS_TIME_HOURS) {
this.logService.info(
"[EncryptedMigrationsInitiator] Migration prompt dismissed recently, skipping for now.",
"[EncryptedMigrationsScheduler] Migration prompt dismissed recently, skipping for now.",
);
return;
}
@@ -161,7 +161,7 @@ export class DefaultEncryptedMigrationsSchedulerService
);
}
} catch (error) {
this.logService.error("[EncryptedMigrationsInitiator] Error during migration prompt", error);
this.logService.error("[EncryptedMigrationsScheduler] Error during migration prompt", error);
// If migrations failed when the user actively was prompted, show a toast
this.toastService.showToast({
variant: "error",