Explorar el Código

hotfix for run plugin call post api

lloydzhou hace 1 año
padre
commit
d830c23dab
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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, {