mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 01:16:18 -05:00
Creating download retry button for recurring downloads.
This commit is contained in:
parent
6713b9e4c9
commit
9a3796bcd0
5 changed files with 95 additions and 8 deletions
|
|
@ -486,6 +486,10 @@ export async function killDownload(download_id) {
|
|||
return response;
|
||||
}
|
||||
|
||||
export async function restartDownload(download_id) {
|
||||
return await apiPost(`${API_URI}/download/${download_id}/restart`);
|
||||
}
|
||||
|
||||
export async function killDownloads() {
|
||||
let response = await apiPost(`${API_URI}/download/kill`);
|
||||
return response;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue