fix the axios bug

This commit is contained in:
Sven Czarnian
2022-11-05 01:25:51 +01:00
parent c3f36bae01
commit 1269cb9f6b

View File

@@ -72,7 +72,7 @@ export class Auth {
if (!token) return BackendReturnStatus.Unauthorized; if (!token) return BackendReturnStatus.Unauthorized;
return axios return axios
.patch<void>(`${Configuration.resourceServer}/auth/refreshRadarScopeKey`, { .patch<void>(`${Configuration.resourceServer}/auth/refreshRadarScopeKey`, {}, {
headers: { headers: {
Authorization: `Bearer ${token}`, Authorization: `Bearer ${token}`,
}, },