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
9ccc4d41
Commit
9ccc4d41
authored
Jun 21, 2019
by
Greg Messner
Browse files
Fixed issues_events param name in addHook() (#394).
parent
683f52fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/ProjectApi.java
View file @
9ccc4d41
...
@@ -1847,7 +1847,7 @@ public class ProjectApi extends AbstractApi implements Constants {
...
@@ -1847,7 +1847,7 @@ public class ProjectApi extends AbstractApi implements Constants {
GitLabApiForm
formData
=
new
GitLabApiForm
()
GitLabApiForm
formData
=
new
GitLabApiForm
()
.
withParam
(
"url"
,
url
)
.
withParam
(
"url"
,
url
)
.
withParam
(
"push_events"
,
doPushEvents
)
.
withParam
(
"push_events"
,
doPushEvents
)
.
withParam
(
"issues_e
nabled
"
,
doIssuesEvents
)
.
withParam
(
"issues_e
vents
"
,
doIssuesEvents
)
.
withParam
(
"merge_requests_events"
,
doMergeRequestsEvents
);
.
withParam
(
"merge_requests_events"
,
doMergeRequestsEvents
);
Response
response
=
post
(
Response
.
Status
.
CREATED
,
formData
,
"projects"
,
getProjectIdOrPath
(
projectIdOrPath
),
"hooks"
);
Response
response
=
post
(
Response
.
Status
.
CREATED
,
formData
,
"projects"
,
getProjectIdOrPath
(
projectIdOrPath
),
"hooks"
);
...
...
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