From 22cb3d57a4f71f17d256624af236723efa2196a6 Mon Sep 17 00:00:00 2001 From: Todd Martin <106564991+trmartin4@users.noreply.github.com> Date: Wed, 12 Jul 2023 16:34:17 -0400 Subject: [PATCH] Adding missing await. (#5801) --- apps/web/src/app/core/init.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/app/core/init.service.ts b/apps/web/src/app/core/init.service.ts index 4a2ef2f4955..4d4afed3fb6 100644 --- a/apps/web/src/app/core/init.service.ts +++ b/apps/web/src/app/core/init.service.ts @@ -45,7 +45,7 @@ export class InitService { const urls = process.env.URLS as Urls; urls.base ??= this.win.location.origin; - this.environmentService.setUrls(urls); + await this.environmentService.setUrls(urls); this.environmentService.initialized = true; setTimeout(() => this.notificationsService.init(), 3000);