Quellcode durchsuchen

hotfix for run plugin call post api

lloydzhou vor 1 Jahr
Ursprung
Commit
d830c23dab
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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, {