update methods and immutable attribute added
This commit is contained in:
@ -5,7 +5,7 @@ import { UserCreds } from './userCreds'
|
||||
import jwt_decode from 'jwt-decode'
|
||||
import { Observable, interval, Subject, Subscription } from 'rxjs'
|
||||
import { map, takeWhile } from 'rxjs/operators'
|
||||
import { authserviceBaseUrl } from './config'
|
||||
import { authserviceBaseUrl, applicationId } from './config'
|
||||
|
||||
|
||||
interface TokenTuple {
|
||||
@ -66,7 +66,7 @@ export class TokenService {
|
||||
async login(login: string, password: string) : Promise<void> {
|
||||
this.messageService.add(`TokenService: trying to login and obtain token`)
|
||||
const userCreds : UserCreds = {
|
||||
"application": "hv2",
|
||||
"application": applicationId,
|
||||
"login": login,
|
||||
"password": password
|
||||
}
|
||||
|
Reference in New Issue
Block a user