fix: credentials:

This commit is contained in:
StyleZhang 2024-11-11 12:27:13 +08:00
parent 5e81150b22
commit 66b08e653e
1 changed files with 3 additions and 3 deletions

View File

@ -158,10 +158,10 @@ async function base<T>(url: string, options: FetchOptionType = {}, otherOptions:
],
},
})(fetchPathname, {
credentials: isMarketplaceAPI
? 'omit'
: (options.credentials || 'include'),
...init,
credentials: isMarketplaceAPI
? undefined
: (options.credentials || 'include'),
retry: {
methods: [],
},