mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 05:09:58 -05:00
Refactoring docs to match new url scheme like videos and archives.
This commit is contained in:
parent
66a891c759
commit
1c79c1c495
7 changed files with 28 additions and 49 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue