diff --git a/src/baseClient.ts b/src/baseClient.ts index 84f5ce9..5c1088c 100644 --- a/src/baseClient.ts +++ b/src/baseClient.ts @@ -26,7 +26,7 @@ function getFetch(): Fetch { return window.fetch.bind(window); } if (typeof global !== 'undefined' && global.fetch) { - return global.fetch; + return global.fetch.bind(global); } if (typeof fetch !== 'undefined') { return fetch.bind(globalThis);