diff --git a/src/main/java/org/gitlab4j/api/GroupApi.java b/src/main/java/org/gitlab4j/api/GroupApi.java index 1d11cc87f12160a74fa3c935db0123cb73ef5383..b50feae9ef87101666828d0c767d47c9c1dbcece 100644 --- a/src/main/java/org/gitlab4j/api/GroupApi.java +++ b/src/main/java/org/gitlab4j/api/GroupApi.java @@ -480,8 +480,8 @@ public class GroupApi extends AbstractApi { public Group addGroup(Group group) throws GitLabApiException { Form formData = new GitLabApiForm() - .withParam("name", group.getName()) - .withParam("path", group.getPath()) + .withParam("name", group.getName(), true) + .withParam("path", group.getPath(), true) .withParam("description", group.getDescription()) .withParam("visibility", group.getVisibility()) .withParam("lfs_enabled", group.getLfsEnabled()) @@ -510,8 +510,8 @@ public class GroupApi extends AbstractApi { Boolean lfsEnabled, Boolean requestAccessEnabled, Integer parentId) throws GitLabApiException { Form formData = new GitLabApiForm() - .withParam("name", name) - .withParam("path", path) + .withParam("name", name, true) + .withParam("path", path, true) .withParam("description", description) .withParam("visibility", visibility) .withParam("lfs_enabled", lfsEnabled)