From 9214bf357fddc49ed580d20c57003e68eff66402 Mon Sep 17 00:00:00 2001 From: Eugenio Romano Date: Wed, 1 Jul 2026 23:10:10 +0200 Subject: [PATCH] Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- lib/core/src/lib/auth/services/time-sync.service.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/core/src/lib/auth/services/time-sync.service.ts b/lib/core/src/lib/auth/services/time-sync.service.ts index 8ad3950fb1..a9024f7491 100644 --- a/lib/core/src/lib/auth/services/time-sync.service.ts +++ b/lib/core/src/lib/auth/services/time-sync.service.ts @@ -81,9 +81,13 @@ export class TimeSyncService { this.clockOffsetMs = adjustedServerTimeInMs - Date.now(); }), - catchError(() => of(void 0)) + catchError(() => { + this.clockOffsetMs = 0; + return of(void 0); + }) ); } catch { + this.clockOffsetMs = 0; return of(void 0); } }