Explorar el Código

fix the axios bug

Sven Czarnian hace 2 años
padre
commit
1269cb9f6b
Se han modificado 1 ficheros con 1 adiciones y 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}`,
         },