Unverified Commit 93dc40c3 authored by BaiJiangJie's avatar BaiJiangJie Committed by GitHub

Merge pull request #101 from jumpserver/dev_bai

[Bugfix] 修改获取资产节点树URL
parents d13ece2b d7b46627
......@@ -71,7 +71,7 @@ export class HttpService {
}
get_my_granted_nodes() {
return this.http.get<Array<Node>>('/api/perms/v1/user/nodes-assets/tree/?cache_policy=1');
return this.http.get<Array<Node>>('/api/perms/v1/users/nodes-with-assets/tree/?cache_policy=1');
}
get_my_granted_remote_apps() {
......@@ -79,7 +79,7 @@ export class HttpService {
}
refresh_my_granted_nodes() {
return this.http.get<Array<Node>>('/api/perms/v1/user/nodes-assets/tree/?cache_policy=2');
return this.http.get<Array<Node>>('/api/perms/v1/users/nodes-with-assets/tree/?cache_policy=2');
}
get_guacamole_token(user_id: string, authToken: string) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment