Commit 0a7ad132 authored by Greg Messner's avatar Greg Messner
Browse files

Fixed getAlMembers() request construction (#565)

parent d7e3a16d
...@@ -907,7 +907,7 @@ public class GroupApi extends AbstractApi { ...@@ -907,7 +907,7 @@ public class GroupApi extends AbstractApi {
public Pager<Member> getAllMembers(Object groupIdOrPath, String query, List<Integer> userIds, int itemsPerPage) throws GitLabApiException { public Pager<Member> getAllMembers(Object groupIdOrPath, String query, List<Integer> userIds, int itemsPerPage) throws GitLabApiException {
GitLabApiForm form = new GitLabApiForm().withParam("query", query).withParam("user_ids", userIds); GitLabApiForm form = new GitLabApiForm().withParam("query", query).withParam("user_ids", userIds);
return (new Pager<Member>(this, Member.class, itemsPerPage, form.asMap(), return (new Pager<Member>(this, Member.class, itemsPerPage, form.asMap(),
"projects", getGroupIdOrPath(groupIdOrPath), "members", "all")); "groups", getGroupIdOrPath(groupIdOrPath), "members", "all"));
} }
/** /**
......
Supports Markdown
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