You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by ki...@apache.org on 2021/12/04 11:13:23 UTC
[dolphinscheduler] branch 2.0.1-prepare updated: fix token delete request 404 (#6979) (#7173)
This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch 2.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/2.0.1-prepare by this push:
new f9851fa fix token delete request 404 (#6979) (#7173)
f9851fa is described below
commit f9851fa181753a44f4c73a6824cfd094a4273fcc
Author: Jiajie Zhong <zh...@hotmail.com>
AuthorDate: Sat Dec 4 19:13:19 2021 +0800
fix token delete request 404 (#6979) (#7173)
Co-authored-by: Kerwin <37...@users.noreply.github.com>
---
dolphinscheduler-ui/src/js/conf/home/store/user/actions.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js
index e2d8c9a..3931d2d 100644
--- a/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js
+++ b/dolphinscheduler-ui/src/js/conf/home/store/user/actions.js
@@ -113,7 +113,7 @@ export default {
*/
deleteToken ({ state }, payload) {
return new Promise((resolve, reject) => {
- io.delete(`access-token/${payload.id}`, payload, res => {
+ io.delete(`access-tokens/${payload.id}`, payload, res => {
resolve(res)
}).catch(e => {
reject(e)