소스 검색

fix the axios bug

Sven Czarnian 2 년 전
부모
커밋
1269cb9f6b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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}`,
         },