JinyLeeChina commented on a change in pull request #6142:
URL: https://github.com/apache/dolphinscheduler/pull/6142#discussion_r704888317



##########
File path: dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
##########
@@ -192,8 +192,8 @@ export default {
   moveProcess ({ state }, payload) {
     return new Promise((resolve, reject) => {
       io.post(`projects/${state.projectCode}/process-definition/batch-move`, {
-        processDefinitionIds: payload.processDefinitionIds,
-        targetProjectId: payload.targetProjectId
+        codes: payload.processDefinitionIds,

Review comment:
       please check

##########
File path: dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
##########
@@ -176,8 +176,8 @@ export default {
   copyProcess ({ state }, payload) {
     return new Promise((resolve, reject) => {
       io.post(`projects/${state.projectCode}/process-definition/batch-copy`, {
-        processDefinitionIds: payload.processDefinitionIds,
-        targetProjectId: payload.targetProjectId
+        codes: payload.processDefinitionIds,
+        targetProjectCode: payload.targetProjectId

Review comment:
       I think Id and code have different meanings. The value of ID cannot be 
given to code




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to