Преглед изворни кода

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__) {
   if (window.__TAURI__) {
     return tauriStreamFetch(url, {
     return tauriStreamFetch(url, {
       ...options,
       ...options,
-      body: options?.body || options?.data,
+      body: (options?.body || options?.data) as any,
     });
     });
     // const payload = options?.body || options?.data;
     // const payload = options?.body || options?.data;
     // return tauriFetch(url, {
     // return tauriFetch(url, {