aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/webhook.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/webhook.go')
-rw-r--r--routers/repo/webhook.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index e1e03f03..65d9fee6 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -109,12 +109,13 @@ func ParseHookEvent(f form.Webhook) *models.HookEvent {
SendEverything: f.SendEverything(),
ChooseEvents: f.ChooseEvents(),
HookEvents: models.HookEvents{
- Create: f.Create,
- Delete: f.Delete,
- Fork: f.Fork,
- Push: f.Push,
- Issues: f.Issues,
- PullRequest: f.PullRequest,
+ Create: f.Create,
+ Delete: f.Delete,
+ Fork: f.Fork,
+ Push: f.Push,
+ Issues: f.Issues,
+ IssueComment: f.IssueComment,
+ PullRequest: f.PullRequest,
},
}
}