[Workspace Loader] Add missing async keyword (#15154)
Signed-off-by: Mykola Morhun <mmorhun@redhat.com>7.20.x
parent
11bbcf0c10
commit
3e8585c220
|
|
@ -305,7 +305,7 @@ export class WorkspaceLoader {
|
|||
}, 100);
|
||||
}
|
||||
|
||||
setAuthorizationHeader(xhr: XMLHttpRequest): Promise<XMLHttpRequest> {
|
||||
async setAuthorizationHeader(xhr: XMLHttpRequest): Promise<XMLHttpRequest> {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (this.keycloak && this.keycloak.token) {
|
||||
this.keycloak.updateToken(5).success(() => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue