From 8606cbd493eba950d3e5b95d8c8f891e669a48e8 Mon Sep 17 00:00:00 2001 From: OS <29528966+lenboo@users.noreply.github.com> Date: Thu, 14 Oct 2021 00:31:23 +0800 Subject: [PATCH] fix bug: 6523 Failed to authorize resource (#6524) --- 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)