diff --git a/services/web/frontend/js/infrastructure/fetch-json.js b/services/web/frontend/js/infrastructure/fetch-json.js index 7c50da79f1..ecd873bf34 100644 --- a/services/web/frontend/js/infrastructure/fetch-json.js +++ b/services/web/frontend/js/infrastructure/fetch-json.js @@ -21,7 +21,7 @@ export function deleteJSON(path, options) { return fetchJSON(path, { ...options, method: 'DELETE' }) } -export default function fetchJSON( +function fetchJSON( path, { body = {}, headers = {}, method = 'GET', ...otherOptions } ) {