1
This commit is contained in:
@@ -87,7 +87,9 @@ class TaskStatusServer {
|
||||
* @returns {Promise}
|
||||
*/
|
||||
cancel(row) {
|
||||
return window.framework.http.post(`task_status/${row.taskId}/cancel`)
|
||||
return window.framework.http.post('task/cancel', {
|
||||
taskId: row.taskId || row.id
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -96,7 +98,9 @@ class TaskStatusServer {
|
||||
* @returns {Promise}
|
||||
*/
|
||||
retry(row) {
|
||||
return window.framework.http.post(`task_status/${row.taskId}/retry`)
|
||||
return window.framework.http.post('task/retry', {
|
||||
taskId: row.taskId || row.id
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user