Skip to content

Commit

Permalink
responses typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil authored Jan 27, 2024
1 parent 8cdba42 commit 26d024f
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 26d024f

Please sign in to comment.