mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-11-30 03:08:01 +08:00
Fix the error of mandatory success and failure task (#6305)
close #6301
This commit is contained in:
parent
9115062838
commit
b8ed7e6f2d
@ -726,7 +726,7 @@ export default {
|
||||
*/
|
||||
forceTaskSuccess ({ state }, payload) {
|
||||
return new Promise((resolve, reject) => {
|
||||
io.post(`projects/${state.projectCode}/task-instances/${payload.code}/force-success`, payload, res => {
|
||||
io.post(`projects/${state.projectCode}/task-instances/${payload.taskInstanceId}/force-success`, payload, res => {
|
||||
resolve(res)
|
||||
}).catch(e => {
|
||||
reject(e)
|
||||
|
Loading…
Reference in New Issue
Block a user