From ad39f51db206b1c1b0c1d8ee97f17be079bf300a Mon Sep 17 00:00:00 2001 From: Bernd Schoolmann Date: Thu, 30 Oct 2025 10:46:33 +0100 Subject: [PATCH] Resolve inconsistent prefix --- .../encrypted-migrations-scheduler.service.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts b/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts index 99ec9adb6a7..f78c70f7c9f 100644 --- a/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts +++ b/libs/angular/src/key-management/encrypted-migration/encrypted-migrations-scheduler.service.ts @@ -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",