latex-ub/services/web/frontend/js/features/file-tree/util/api.ts
2025-05-05 12:24:05 +00:00

4 lines
203 B
TypeScript

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