config fix

main
Ermis Wieger 2024-08-16 12:08:14 +02:00
parent d071b552d8
commit 30bb161948
1 changed files with 2 additions and 1 deletions

View File

@ -49,6 +49,7 @@ export class DataService {
* @param http representation of the HttpClient * @param http representation of the HttpClient
*/ */
constructor(@Inject(APP_CONFIG) config: AppConfig, public languageService: LanguageService, private http: HttpClient, public errorService: ErrorService, private location: Location) { 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.getUser().then((res: any )=>{
this.user = res.userId; this.user = res.userId;
}); });
@ -70,7 +71,7 @@ export class DataService {
console.log(this.userSupportGroup); console.log(this.userSupportGroup);
}); });
this.config=config;
} }
public redirectToAuthUrl() { public redirectToAuthUrl() {