Commit 4b9fe8a2 authored by Tristan Lins's avatar Tristan Lins Committed by Tim Olshansky

GitlabAPI#getGroupProjects() retrieve all projects from the group (#192)

parent 9095a622
......@@ -393,7 +393,7 @@ public class GitlabAPI {
*/
public List<GitlabProject> getGroupProjects(Integer groupId) throws IOException {
String tailUrl = GitlabGroup.URL + "/" + groupId + GitlabProject.URL;
return Arrays.asList(retrieve().to(tailUrl, GitlabProject[].class));
return retrieve().getAll(tailUrl, GitlabProject[].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