Skip to content
Snippets Groups Projects

Try to fix TAC init on prod

Merged Dimitri DI GUSTO requested to merge DOS99492_TAC into master
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -16,7 +16,7 @@ import { notificationMessages } from '../i18n/traductions';
// Function used by APP_INITIALIZER before the app start: init user info / statut (expect a promise)
export function initUserService(authService: UserService, notificationService: NotificationService) {
return (): Promise<void> => {
return (): Promise<any> => {
return new Promise<void>((resolve, reject) => {
authService.initializeService().pipe(timeout(3000)).subscribe(
() => {
@@ -45,7 +45,7 @@ export function initTarteaucitronService(tarteaucitronService: TarteAuCitronServ
}
export function initAppConfig(appConfigService: AppConfigService) {
return (): Promise<void> => {
return (): Promise<any> => {
return new Promise<void>((resolve, reject) => {
appConfigService.load();
resolve();
Loading