We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 333f1e5 commit 21b7ce9Copy full SHA for 21b7ce9
src/main/java/org/gitlab4j/api/GroupApi.java
@@ -347,7 +347,7 @@ public Group addGroup(Group group) throws GitLabApiException {
347
.withParam("name", group.getName())
348
.withParam("path", group.getPath())
349
.withParam("description", group.getDescription())
350
- .withParam("visibility", group.getDescription())
+ .withParam("visibility", group.getVisibility())
351
.withParam("lfs_enabled", group.getLfsEnabled())
352
.withParam("request_access_enabled", group.getRequestAccessEnabled())
353
.withParam("parent_id", isApiVersion(ApiVersion.V3) ? null : group.getParentId());
0 commit comments