We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ef7c25 + f0894cf commit 27fadf9Copy full SHA for 27fadf9
1 file changed
src/baseClient.ts
@@ -26,7 +26,7 @@ function getFetch(): Fetch {
26
return window.fetch.bind(window);
27
}
28
if (typeof global !== 'undefined' && global.fetch) {
29
- return global.fetch;
+ return global.fetch.bind(global);
30
31
if (typeof fetch !== 'undefined') {
32
return fetch.bind(globalThis);
0 commit comments