Commit 21b7ce94 authored by mdeknowis's avatar mdeknowis Committed by Greg Messner
Browse files

Use correct visibility value in addGroup(Group) (#262)

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -347,7 +347,7 @@ public class GroupApi extends AbstractApi {
.withParam("name", group.getName())
.withParam("path", group.getPath())
.withParam("description", group.getDescription())
.withParam("visibility", group.getDescription())
.withParam("visibility", group.getVisibility())
.withParam("lfs_enabled", group.getLfsEnabled())
.withParam("request_access_enabled", group.getRequestAccessEnabled())
.withParam("parent_id", isApiVersion(ApiVersion.V3) ? null : group.getParentId());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment