diff --git a/src/main/java/org/gitlab4j/api/GroupApi.java b/src/main/java/org/gitlab4j/api/GroupApi.java index fe5a022b8..a8c6d0ee8 100644 --- a/src/main/java/org/gitlab4j/api/GroupApi.java +++ b/src/main/java/org/gitlab4j/api/GroupApi.java @@ -2451,7 +2451,7 @@ public GroupHook addWebhook(Object groupIdOrPath, GroupHookParams groupHookParam * @throws GitLabApiException if any exception occurs */ public List 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>() {})); }