added missing code on set header

This commit is contained in:
Eudes Inácio
2023-07-10 14:43:15 +01:00
parent 78cc073b3b
commit 65ef1f5757
2 changed files with 12 additions and 8 deletions
+6 -2
View File
@@ -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