From 30bb161948bad5e76ab38a8c895776d0a8927e0f Mon Sep 17 00:00:00 2001 From: Ermis Wieger Date: Fri, 16 Aug 2024 12:08:14 +0200 Subject: [PATCH] config fix --- frontend/src/app/data.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/data.service.ts b/frontend/src/app/data.service.ts index fed0a7a..113ed1d 100644 --- a/frontend/src/app/data.service.ts +++ b/frontend/src/app/data.service.ts @@ -49,6 +49,7 @@ export class DataService { * @param http representation of the HttpClient */ constructor(@Inject(APP_CONFIG) config: AppConfig, public languageService: LanguageService, private http: HttpClient, public errorService: ErrorService, private location: Location) { + this.config=config; this.getUser().then((res: any )=>{ this.user = res.userId; }); @@ -70,7 +71,7 @@ export class DataService { console.log(this.userSupportGroup); }); - this.config=config; + } public redirectToAuthUrl() {