fix: credentials:

pull/12372/head
StyleZhang 2 years ago
parent 5e81150b22
commit 66b08e653e

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

Loading…
Cancel
Save