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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user