From 750a743a50e243af0d2f57efe302ebd611469625 Mon Sep 17 00:00:00 2001 From: Willem Dantuma Date: Mon, 11 May 2020 20:57:45 +0200 Subject: [PATCH] Fix promise resolve --- projects/common/src/fm/services/auth-guard.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/common/src/fm/services/auth-guard.service.ts b/projects/common/src/fm/services/auth-guard.service.ts index 9bd84c7..ccf160b 100644 --- a/projects/common/src/fm/services/auth-guard.service.ts +++ b/projects/common/src/fm/services/auth-guard.service.ts @@ -59,7 +59,7 @@ export class AuthGuard implements CanActivate, CanLoad, CanActivateChild { } else { console.debug("Valid token init user"); this.store.dispatch(new appCommonActions.InitUser()); - return(true); + resolve(true); } }); }