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
b1a89968
Commit
b1a89968
authored
May 05, 2017
by
Greg Messner
Browse files
Fixed addGroup() to exepect CREATED (#20).
parent
fc7515b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/GroupApi.java
View file @
b1a89968
...
@@ -60,7 +60,7 @@ public class GroupApi extends AbstractApi {
...
@@ -60,7 +60,7 @@ public class GroupApi extends AbstractApi {
Form
formData
=
new
Form
();
Form
formData
=
new
Form
();
formData
.
param
(
"name"
,
name
);
formData
.
param
(
"name"
,
name
);
formData
.
param
(
"path"
,
path
);
formData
.
param
(
"path"
,
path
);
post
(
Response
.
Status
.
OK
,
formData
,
"groups"
);
post
(
Response
.
Status
.
CREATED
,
formData
,
"groups"
);
}
}
/**
/**
...
...
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