Browse Source

fix token delete request 404 (#6979)

3.0.0/version-upgrade
Kerwin 3 years ago committed by GitHub
parent
commit
631a31b6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui/src/js/conf/home/store/user/actions.js

2
dolphinscheduler-ui/src/js/conf/home/store/user/actions.js

@ -113,7 +113,7 @@ export default {
*/ */
deleteToken ({ state }, payload) { deleteToken ({ state }, payload) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
io.delete(`access-token/${payload.id}`, payload, res => { io.delete(`access-tokens/${payload.id}`, payload, res => {
resolve(res) resolve(res)
}).catch(e => { }).catch(e => {
reject(e) reject(e)

Loading…
Cancel
Save