소스 검색

hotfix for run plugin call post api

lloydzhou 1 년 전
부모
커밋
d830c23dab
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/utils.ts

+ 1 - 1
app/utils.ts

@@ -295,7 +295,7 @@ export function fetch(
   if (window.__TAURI__) {
     return tauriStreamFetch(url, {
       ...options,
-      body: options?.body || options?.data,
+      body: (options?.body || options?.data) as any,
     });
     // const payload = options?.body || options?.data;
     // return tauriFetch(url, {