Răsfoiți Sursa

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

Remove default fetchJSON export

GitOrigin-RevId: e5b1551c3fe0c0f8a4d95574117263667be04fed
Miguel Serrano 5 ani în urmă
părinte
comite
ba6c74b2d6
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      services/web/frontend/js/infrastructure/fetch-json.js

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