Skip to content

Commit 3f46178

Browse files
authored
Fix "GroupApi#getUploadFiles()" (#1196)
1 parent 0a1b6e0 commit 3f46178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/main/java/org/gitlab4j/api/GroupApi.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -2451,7 +2451,7 @@ public GroupHook addWebhook(Object groupIdOrPath, GroupHookParams groupHookParam
24512451
* @throws GitLabApiException if any exception occurs
24522452
*/
24532453
public List<UploadedFile> getUploadFiles(Object groupIdOrPath) throws GitLabApiException {
2454-
Response response = get(Response.Status.OK, null, "projects", getGroupIdOrPath(groupIdOrPath), "uploads");
2454+
Response response = get(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "uploads");
24552455
return (response.readEntity(new GenericType<List<UploadedFile>>() {}));
24562456
}
24572457

0 commit comments

Comments
 (0)