mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
added missing code on set header
This commit is contained in:
@@ -45,9 +45,13 @@ export class ProcessesService {
|
||||
|
||||
setHeader() {
|
||||
|
||||
console.log('CPSession.AuthorizationJwt', CPSession.AuthorizationJwt);
|
||||
this.headers = new HttpHeaders();
|
||||
|
||||
this.headers2 = this.headers2.set('Authorization',"bearer "+ CPSession.AuthorizationJwt);
|
||||
this.headers = this.headers.set('Authorization', this.loggeduser.BasicAuthKey);
|
||||
|
||||
this.headers2 = new HttpHeaders();
|
||||
|
||||
this.headers2 = this.headers2.set('Authorization',"Bearer "+ CPSession.AuthorizationJwt);
|
||||
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user