Skip to content

Commit 9ccc4d4

Browse files
committed
Fixed issues_events param name in addHook() (#394).
1 parent 683f52f commit 9ccc4d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/gitlab4j/api/ProjectApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1847,7 +1847,7 @@ public ProjectHook addHook(Object projectIdOrPath, String url, boolean doPushEve
18471847
GitLabApiForm formData = new GitLabApiForm()
18481848
.withParam("url", url)
18491849
.withParam("push_events", doPushEvents)
1850-
.withParam("issues_enabled", doIssuesEvents)
1850+
.withParam("issues_events", doIssuesEvents)
18511851
.withParam("merge_requests_events", doMergeRequestsEvents);
18521852

18531853
Response response = post(Response.Status.CREATED, formData, "projects", getProjectIdOrPath(projectIdOrPath), "hooks");

0 commit comments

Comments
 (0)