diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/utils/src/fetchAsync.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/utils/src/fetchAsync.ts b/packages/utils/src/fetchAsync.ts index 47d87815e..8295ff5ec 100644 --- a/packages/utils/src/fetchAsync.ts +++ b/packages/utils/src/fetchAsync.ts @@ -7,7 +7,7 @@ export const fetchAsync = async ( timeoutMs: number = 20000, ): Promise<Response> => { let optionsWithAbortParam; - if (isNode) { + if (!isNode) { const controller = new AbortController(); const signal = controller.signal; setTimeout(() => { |