From 0659aa3f46a79be20caf67b13ca43cd329ff3ec3 Mon Sep 17 00:00:00 2001 From: Jiajie Zhong Date: Thu, 14 Oct 2021 14:20:14 +0800 Subject: [PATCH] fix bug: 6523 Failed to authorize resource (#6524) (#6526) Co-authored-by: OS <29528966+lenboo@users.noreply.github.com> --- dolphinscheduler-ui/src/js/conf/home/store/security/actions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js b/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js index 6ce4457397..b6b5a87382 100644 --- a/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js +++ b/dolphinscheduler-ui/src/js/conf/home/store/security/actions.js @@ -218,7 +218,7 @@ export default { // Authorized project const p1 = new Promise((resolve, reject) => { - io.get(`${o.category}/authorize-resource-tree`, param, res => { + io.get(`${o.category}/authed-resource-tree`, param, res => { resolve(res.data) }).catch(e => { reject(e)