This is an automated email from the ASF dual-hosted git repository.

journey pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 22a2d43  Fix api url (#1672)
22a2d43 is described below

commit 22a2d43d7c491d5a1acc5176c4ca26b842d1c99b
Author: break60 <[email protected]>
AuthorDate: Thu Jan 2 10:25:09 2020 +0800

    Fix api url (#1672)
---
 dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js               | 2 +-
 .../src/js/module/components/fileUpdate/definitionUpdate.vue            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js 
b/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
index 7ef6193..b854dc8 100644
--- a/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
+++ b/dolphinscheduler-ui/src/js/conf/home/store/dag/actions.js
@@ -270,7 +270,7 @@ export default {
       resolve()
       return
     }
-    io.get(`projects/queryAllProjectList`, payload, res => {
+    io.get(`projects/query-project-list`, payload, res => {
       state.projectListS = res.data
       resolve(res.data)
   }).catch(res => {
diff --git 
a/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue 
b/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
index f3124b9..e8d8ee3 100644
--- 
a/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
+++ 
b/dolphinscheduler-ui/src/js/module/components/fileUpdate/definitionUpdate.vue
@@ -141,7 +141,7 @@
           let self = this
           let formData = new FormData()
           formData.append('file', this.file)
-          io.post(`projects/importProcessDefinition`, res => {
+          io.post(`projects/import-definition`, res => {
             this.$message.success(res.msg)
             resolve()
             self.$emit('onUpdate')

Reply via email to