ruanwenjun commented on a change in pull request #6226:
URL: https://github.com/apache/dolphinscheduler/pull/6226#discussion_r709705566
##########
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:
@Liiyue Are you sure? it seems this bug is imported by
- #6110
and you can check the payload, I am not sure.
https://github.com/apache/dolphinscheduler/blob/c1496d8a74ef69253d1873602a467ca61876bbfb/dolphinscheduler-ui/src/js/conf/home/pages/resource/pages/file/pages/edit/index.vue#L79-L86
BTW, we use PUT instead of POST, when we want to submit a update request
--
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]