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() {