Skip to content

Commit 838807a

Browse files
committed
Adding getContributors sort by asc / desc comments
1 parent abc582d commit 838807a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>org.gitlab4j</groupId>
66
<artifactId>gitlab4j-api-cortex</artifactId>
77
<packaging>jar</packaging>
8-
<version>4.20.2-SNAPSHOT</version>
8+
<version>4.20.2</version>
99
<name>GitLab4J-API - GitLab API Java Client</name>
1010
<description>GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.</description>
1111
<url>https://github.com/gitlab4j/gitlab4j-api</url>

src/main/java/org/gitlab4j/api/RepositoryApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ public List<Contributor> getContributors(Object projectIdOrPath, int page, int p
681681
throw new RuntimeException("Sort must be asc or desc");
682682
}
683683

684-
GitLabApiForm formData = new GitLabApiForm().withParam(PAGE_PARAM, page).withParam(PER_PAGE_PARAM, perPage);
684+
GitLabApiForm formData = new GitLabApiForm().withParam(PAGE_PARAM, page).withParam(PER_PAGE_PARAM, perPage);
685685
if (sort != null) {
686686
formData.withParam("sort", sort, false);
687687
}

0 commit comments

Comments
 (0)