Skip to content

Commit

Permalink
Fix "GroupApi#getUploadFiles()" (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmini authored Nov 28, 2024
1 parent 0a1b6e0 commit 3f46178
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/gitlab4j/api/GroupApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -2451,7 +2451,7 @@ public GroupHook addWebhook(Object groupIdOrPath, GroupHookParams groupHookParam
* @throws GitLabApiException if any exception occurs
*/
public List<UploadedFile> getUploadFiles(Object groupIdOrPath) throws GitLabApiException {
Response response = get(Response.Status.OK, null, "projects", getGroupIdOrPath(groupIdOrPath), "uploads");
Response response = get(Response.Status.OK, null, "groups", getGroupIdOrPath(groupIdOrPath), "uploads");
return (response.readEntity(new GenericType<List<UploadedFile>>() {}));
}

Expand Down

0 comments on commit 3f46178

Please sign in to comment.