summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--services/webhook/wechatwork.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/wechatwork.go b/services/webhook/wechatwork.go
index 5344ccaa22..acaa12253b 100644
--- a/services/webhook/wechatwork.go
+++ b/services/webhook/wechatwork.go
@@ -139,7 +139,7 @@ func (f *WechatworkPayload) PullRequest(p *api.PullRequestPayload) (api.Payloade
func (f *WechatworkPayload) Review(p *api.PullRequestPayload, event webhook_model.HookEventType) (api.Payloader, error) {
var text, title string
switch p.Action {
- case api.HookIssueSynchronized:
+ case api.HookIssueReviewed:
action, err := parseHookPullRequestEventType(event)
if err != nil {
return nil, err