Refactoring docs to match new url scheme like videos and archives.

This commit is contained in:
Roland 2026-03-20 15:53:21 -06:00
parent 66a891c759
commit 1c79c1c495
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
7 changed files with 28 additions and 49 deletions

View file

@ -2103,12 +2103,8 @@ export async function getDocStatistics() {
return await apiGet(`${DOCS_API}/statistics`);
}
export async function getDoc(docId) {
return await apiGet(`${DOCS_API}/${docId}`);
}
export async function getDocByFileGroup(fileGroupId) {
return await apiGet(`${DOCS_API}/view/${fileGroupId}`);
export async function getDoc(fileGroupId) {
return await apiGet(`${DOCS_API}/${fileGroupId}`);
}
export async function deleteDocs(docIds) {