feat(FN-2192): rename markdown files route to markdown-list

- Rename the dashboard markdown files route to /files/markdown-list.
- Update fetchProjectMarkdownFiles to call the new markdown-list endpoint.
- Adjust useDocuments test mocks and assertions to match the renamed route.
This commit is contained in:
Fusion
2026-04-20 10:38:38 -07:00
committed by gsxdsm
parent 263d23dccf
commit c19ac60d10
3 changed files with 6 additions and 6 deletions

View File

@@ -776,7 +776,7 @@ export async function fetchAllDocuments(
}
export function fetchProjectMarkdownFiles(projectId?: string): Promise<MarkdownFileListResponse> {
return api<MarkdownFileListResponse>(withProjectId("/files/markdown", projectId));
return api<MarkdownFileListResponse>(withProjectId("/files/markdown-list", projectId));
}
export function putTaskDocument(