diff --git a/src/site/stages/build/drupal/static-data-files/fetchApi.js b/src/site/stages/build/drupal/static-data-files/fetchApi.js index 76b82ac4ad..1a43fb2455 100644 --- a/src/site/stages/build/drupal/static-data-files/fetchApi.js +++ b/src/site/stages/build/drupal/static-data-files/fetchApi.js @@ -12,7 +12,6 @@ async function fetchWrapper(url, options) { const { data } = await curly.get(url); return new Response(data, { status: 200, statusText: 'OK', url }); } - return fetch(url, options); } @@ -59,7 +58,6 @@ function getCurlClient(buildOptions, _clientOptionsArg = { verbose: true }) { 'certs/VA-Internal-S2-RCA2.pem', ]); } - return fetchWrapper( url, // eslint-disable-next-line prefer-object-spread