hotfix for run plugin call post api

This commit is contained in:
lloydzhou 2024-09-30 15:38:13 +08:00
parent fd3568c459
commit d830c23dab
1 changed files with 1 additions and 1 deletions

View File

@ -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, {