mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-02 12:17:43 +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) {
|
forceTaskSuccess ({ state }, payload) {
|
||||||
return new Promise((resolve, reject) => {
|
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)
|
resolve(res)
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
reject(e)
|
reject(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user