Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
21b7ce94
Commit
21b7ce94
authored
Oct 27, 2018
by
mdeknowis
Committed by
Greg Messner
Oct 26, 2018
Browse files
Use correct visibility value in addGroup(Group) (#262)
parent
333f1e56
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/GroupApi.java
View file @
21b7ce94
...
@@ -347,7 +347,7 @@ public class GroupApi extends AbstractApi {
...
@@ -347,7 +347,7 @@ public class GroupApi extends AbstractApi {
.
withParam
(
"name"
,
group
.
getName
())
.
withParam
(
"name"
,
group
.
getName
())
.
withParam
(
"path"
,
group
.
getPath
())
.
withParam
(
"path"
,
group
.
getPath
())
.
withParam
(
"description"
,
group
.
getDescription
())
.
withParam
(
"description"
,
group
.
getDescription
())
.
withParam
(
"visibility"
,
group
.
get
Description
())
.
withParam
(
"visibility"
,
group
.
get
Visibility
())
.
withParam
(
"lfs_enabled"
,
group
.
getLfsEnabled
())
.
withParam
(
"lfs_enabled"
,
group
.
getLfsEnabled
())
.
withParam
(
"request_access_enabled"
,
group
.
getRequestAccessEnabled
())
.
withParam
(
"request_access_enabled"
,
group
.
getRequestAccessEnabled
())
.
withParam
(
"parent_id"
,
isApiVersion
(
ApiVersion
.
V3
)
?
null
:
group
.
getParentId
());
.
withParam
(
"parent_id"
,
isApiVersion
(
ApiVersion
.
V3
)
?
null
:
group
.
getParentId
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment