Commit d7b46627 authored by BaiJiangJie's avatar BaiJiangJie

[Bugfix] 修改获取资产节点树URL

parent d13ece2b
...@@ -71,7 +71,7 @@ export class HttpService { ...@@ -71,7 +71,7 @@ export class HttpService {
} }
get_my_granted_nodes() { 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() { get_my_granted_remote_apps() {
...@@ -79,7 +79,7 @@ export class HttpService { ...@@ -79,7 +79,7 @@ export class HttpService {
} }
refresh_my_granted_nodes() { 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) { 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