mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-02-19 02:42:36 +00:00
rework task create/modify/delete/running and fix checks tests
This commit is contained in:
@@ -26,7 +26,7 @@ export async function removeTask(id) {
|
||||
return data
|
||||
}
|
||||
|
||||
export async function runTask(id) {
|
||||
const { data } = await axios.post(`${baseUrl}/${id}/run/`)
|
||||
export async function runTask(id, payload) {
|
||||
const { data } = await axios.post(`${baseUrl}/${id}/run/`, payload)
|
||||
return data
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user