mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-03 20:10:40 +08:00
hotfix for run plugin call post api
This commit is contained in:
parent
fd3568c459
commit
d830c23dab
@ -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, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user