overleaf/services/web/frontend/js/features/file-tree/util/api.js

5 lines
187 B
JavaScript
Raw Normal View History

import { postJSON } from '../../../infrastructure/fetch-json'
export const refreshProjectMetadata = (projectId, entityId) =>
postJSON(`/project/${projectId}/doc/${entityId}/metadata`)