Explorar o código

fix the axios bug

Sven Czarnian %!s(int64=2) %!d(string=hai) anos
pai
achega
1269cb9f6b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/services/auth.ts

+ 1 - 1
src/services/auth.ts

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