[develop]: Fix URL for get invited users for a portal.

This commit is contained in:
Konstantinos Triantafyllou 2024-10-14 13:10:50 +03:00
parent 1301b89ef0
commit 42d5e1e4b0
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ export class UserRegistryService {
}
public getPending(type: string, id: string, role: "member" | "manager" = "manager", admin = false): Observable<any[]> {
let url = properties.registryUrl + 'invite/' + Role.GROUP + type + '/' +id + "/" + role + 's/';
let url = properties.registryUrl + 'invite/' + Role.GROUP + type + '/' +id + "/" + role + 's';
return this.http.get<any>((properties.useCache && !admin) ? (properties.cacheUrl + encodeURIComponent(url)) : url,
CustomOptions.registryOptions()).pipe(map((response: any) => response.response));
}