You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2021/09/16 01:17:13 UTC

[GitHub] [dolphinscheduler] Liiyue commented on a change in pull request #6226: fix the mismatch of upload url between frontend and backend

Liiyue commented on a change in pull request #6226:
URL: https://github.com/apache/dolphinscheduler/pull/6226#discussion_r709680914



##########
File path: dolphinscheduler-ui/src/js/conf/home/store/resource/actions.js
##########
@@ -150,7 +150,7 @@ export default {
    */
   updateContent ({ state }, payload) {
     return new Promise((resolve, reject) => {
-      io.post(`resources/${payload.id}/update-content`, payload, res => {
+      io.post(`resources/${payload.id}`, payload, res => {

Review comment:
       It doesn't need to change the http method, but just change the url in the code(in dolphinscheduler-ui) to match the backend.




-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org