mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-23 02:35:17 +01:00
Merge pull request #4672 from ninjadq/fix_bug_search_member_by_username
Add query string when get members
This commit is contained in:
commit
2f1989d211
@ -29,7 +29,7 @@ export class MemberService {
|
||||
|
||||
listMembers(projectId: number, username: string): Observable<Member[]> {
|
||||
return this.http
|
||||
.get(`/api/projects/${projectId}/members`, HTTP_GET_OPTIONS)
|
||||
.get(`/api/projects/${projectId}/members?entityname=${username}`, HTTP_GET_OPTIONS)
|
||||
.map(response => response.json() as Member[])
|
||||
.catch(error => Observable.throw(error));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user