Skip to content

Commit

Permalink
Fixes linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbs committed Dec 5, 2024
1 parent 961fd51 commit 7092c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/utils/fileUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7092c9c

Please sign in to comment.