Przeglądaj źródła

Merge pull request #3599 from overleaf/ae-fetch-json-export

Remove default fetchJSON export

GitOrigin-RevId: e5b1551c3fe0c0f8a4d95574117263667be04fed
Miguel Serrano 5 lat temu
rodzic
commit
ba6c74b2d6

+ 1 - 1
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 }
 ) {