diff --git a/src/client/src/app/app.config.ts b/src/client/src/app/app.config.ts index ae97e9c..62e266b 100644 --- a/src/client/src/app/app.config.ts +++ b/src/client/src/app/app.config.ts @@ -60,8 +60,8 @@ export const appConfig: ApplicationConfig = { useFactory: () => { const authService = inject(AuthService); const webPushService = inject(WebPushService); - return () => { - authService.init(); + return async () => { + await authService.init(); webPushService.init(); }; },