Skip to content

Commit

Permalink
Update fetchApi.js
Browse files Browse the repository at this point in the history
Evidently I cannot add spaces without annoying the linter
  • Loading branch information
eselkin authored Dec 6, 2023
1 parent 383d2bd commit 8602ea7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/site/stages/build/drupal/static-data-files/fetchApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8602ea7

Please sign in to comment.