aboutsummaryrefslogtreecommitdiffstats
path: root/packages/utils
diff options
context:
space:
mode:
Diffstat (limited to 'packages/utils')
-rw-r--r--packages/utils/src/fetchAsync.ts2
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(() => {