From 1d6d7b8aa805c9818e83f020b3c03cd84456788f Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 4 Oct 2018 11:58:19 -0400 Subject: [PATCH] dont await void methods --- src/app/services/services.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/services/services.module.ts b/src/app/services/services.module.ts index 98a9ece7b8..b0142550d8 100644 --- a/src/app/services/services.module.ts +++ b/src/app/services/services.module.ts @@ -134,7 +134,7 @@ export function initFactory(): Function { environmentService.notificationsUrl = isDev ? 'http://localhost:61840' : 'https://notifications.bitwarden.com'; // window.location.origin + '/notifications'; } - await apiService.setUrls({ + apiService.setUrls({ base: isDev ? null : window.location.origin, api: isDev ? 'http://localhost:4000' : null, identity: isDev ? 'http://localhost:33656' : null, @@ -151,7 +151,7 @@ export function initFactory(): Function { lockService.init(true); const locale = await storageService.get(ConstantsService.localeKey); await i18nService.init(locale); - await authService.init(); + authService.init(); const htmlEl = window.document.documentElement; htmlEl.classList.add('locale_' + i18nService.translationLocale); let theme = await storageService.get(ConstantsService.themeKey);