Просмотр исходного кода

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

Remove default fetchJSON export

GitOrigin-RevId: e5b1551c3fe0c0f8a4d95574117263667be04fed
Miguel Serrano 5 лет назад
Родитель
Сommit
ba6c74b2d6
1 измененных файлов с 1 добавлено и 1 удалено
  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 }
 ) {