small fixes

This commit is contained in:
kochetkov 2024-11-14 14:37:27 +03:00
parent e05a7a9207
commit 0d349e5d38

View file

@ -1,8 +1,6 @@
import {Injectable} from '@angular/core';
import {HttpClient} from '@angular/common/http';
import {Observable} from "rxjs";
import {CookieService} from "ngx-cookie";
import {tap} from "rxjs/operators";
import {AppConfigService} from "@webbpm/base-package";
@Injectable({providedIn: 'root'})
@ -14,7 +12,7 @@ export class AuthenticationService {
}
checkAuthentication(): Promise<any>{
return this.appConfigService.load().then(value => this.http.get<any>("version").toPromise())
return this.appConfigService.load().then(() => this.http.get<any>("version").toPromise())
}
logout(): Promise<string> {