Commit 1a383ac7 authored by Paul Weingardt's avatar Paul Weingardt

fix getProjects-method

parent 2963b40f
......@@ -93,7 +93,7 @@ public class GitlabAPI {
public List<GitlabProject> getProjects() throws IOException {
String tailUrl = GitlabProject.URL;
return Arrays.asList(retrieve().to(tailUrl, GitlabProject[].class));
return retrieve().getAll(tailUrl, GitlabProject[].class);
}
public List<GitlabProject> getAllProjects() throws IOException {
......
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