瀏覽代碼

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}`,
         },