Browse Source

Fix the error of mandatory success and failure task (#6305)

close #6301
2.0.7-release
Tandoy 3 years ago committed by GitHub
parent
commit
b8ed7e6f2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js

2
dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js

@ -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…
Cancel
Save