From 7092c9cac398f7365e670dafb5d7c072ad97bee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=B8vring?= Date: Thu, 5 Dec 2024 12:35:56 +0100 Subject: [PATCH] Fixes linting error --- src/common/utils/fileUtils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/utils/fileUtils.ts b/src/common/utils/fileUtils.ts index 10b9ed86..acc3b062 100644 --- a/src/common/utils/fileUtils.ts +++ b/src/common/utils/fileUtils.ts @@ -27,7 +27,7 @@ export async function downloadFile(params: { error.name = ErrorName.URL_MAY_NOT_INCLUDE_BASIC_AITH; throw error; } - let fetchSignal = AbortSignal.any([abortController.signal, timeoutSignal]) + const fetchSignal = AbortSignal.any([abortController.signal, timeoutSignal]) const response = await fetch(url, { method: "GET", headers, signal: fetchSignal }) if (!response.body) { throw new Error("Response body unavailable");