We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 160a94a commit 9376a2cCopy full SHA for 9376a2c
src/app/management-view/management-view.component.ts
@@ -112,7 +112,7 @@ export class ManagementViewComponent implements OnInit{
112
this.userData = this.security.userData;
113
const token = await firstValueFrom(this.security.getAccessToken());
114
this.incidentService.configuration.withCredentials = true;
115
- this.incidentService.defaultHeaders = this.incidentService.defaultHeaders.append("Authorization", `Bearer ${token}`);
+ this.incidentService.defaultHeaders = this.incidentService.defaultHeaders.set("Authorization", `Bearer ${token}`);
116
});
117
}
118
0 commit comments