fix the axios bug
This commit is contained in:
@@ -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}`,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user