Skip to content

Commit

Permalink
Merge branch 'replace-api-request' into fix/top-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Jan 27, 2024
2 parents 4887a51 + 26d024f commit 21b170e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/data/fetchFromRmp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ async function validateResponse(response, fetchOptions) {
url: response.url,
};
reportError(
'validateResponses',
'validateResponse',
'Status not OK for fetch request. Details are: ' +
JSON.stringify(details),
);
// If we don't have fetch options, we just use an empty object.
responses = await fetchRetry(response?.url, 200, 3, fetchOptions || {});
response = await fetchRetry(response?.url, 200, 3, fetchOptions || {});
}
return response;
}
Expand Down

0 comments on commit 21b170e

Please sign in to comment.