Commit 96372c20 authored by Sander Cornelissen's avatar Sander Cornelissen Committed by Tim Olshansky

Get All members of group, not only the first page (#177)

parent 2244e4b6
...@@ -418,7 +418,7 @@ public class GitlabAPI { ...@@ -418,7 +418,7 @@ public class GitlabAPI {
*/ */
public List<GitlabGroupMember> getGroupMembers(Integer groupId) throws IOException { public List<GitlabGroupMember> getGroupMembers(Integer groupId) throws IOException {
String tailUrl = GitlabGroup.URL + "/" + groupId + GitlabGroupMember.URL; String tailUrl = GitlabGroup.URL + "/" + groupId + GitlabGroupMember.URL;
return Arrays.asList(retrieve().to(tailUrl, GitlabGroupMember[].class)); return retrieve().getAll(tailUrl, GitlabGroupMember[].class);
} }
/** /**
......
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