From 26d024f15f05be2e2ed6c4bddf01709a3d5813f4 Mon Sep 17 00:00:00 2001 From: Tyler Hill Date: Sat, 27 Jan 2024 00:39:51 -0600 Subject: [PATCH] responses typo --- src/data/fetchFromRmp.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/fetchFromRmp.ts b/src/data/fetchFromRmp.ts index 455cf9b..4bc1255 100644 --- a/src/data/fetchFromRmp.ts +++ b/src/data/fetchFromRmp.ts @@ -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; }