Creating download retry button for recurring downloads.

This commit is contained in:
Roland 2023-09-07 21:38:19 -06:00
parent 6713b9e4c9
commit 9a3796bcd0
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93
5 changed files with 95 additions and 8 deletions

View file

@ -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;