config fix
parent
d071b552d8
commit
30bb161948
|
|
@ -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() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue