From 8602ea7a97bc03ed1bc8f867bff8d09d5b96a450 Mon Sep 17 00:00:00 2001 From: Eli Selkin Date: Wed, 6 Dec 2023 12:46:33 -0800 Subject: [PATCH] Update fetchApi.js Evidently I cannot add spaces without annoying the linter --- src/site/stages/build/drupal/static-data-files/fetchApi.js | 2 -- 1 file changed, 2 deletions(-) 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