Skip to content

Commit

Permalink
chore(connect): remove any in firmwareRevisionCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Lemonexe committed Dec 3, 2024
1 parent 5799282 commit fda6178
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/connect/src/data/downloadReleasesMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ export const downloadReleasesMetadata = async ({
}: DownloadReleasesMetadataParams): Promise<FirmwareRelease[]> => {
const url = `https://data.trezor.io/firmware/${internal_model.toLowerCase()}/releases.json`;

const response = (await httpRequest(
const response = await httpRequest(
url,
'json',
{ signal: AbortSignal.timeout(10000) },
true, // skipLocalForceDownload=true
)) as any;
);

if (isValidReleases(response)) {
return response;
Expand Down

0 comments on commit fda6178

Please sign in to comment.