Skip to content

Commit 3f46178

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
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)