diff options
Diffstat (limited to 'services/webhook/discord.go')
-rw-r--r-- | services/webhook/discord.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/webhook/discord.go b/services/webhook/discord.go index 014d409ce7..02f0fb8720 100644 --- a/services/webhook/discord.go +++ b/services/webhook/discord.go @@ -209,7 +209,7 @@ func (d *DiscordPayload) Review(p *api.PullRequestPayload, event webhook_module. color = greenColor case webhook_module.HookEventPullRequestReviewRejected: color = redColor - case webhook_module.HookEventPullRequestComment: + case webhook_module.HookEventPullRequestReviewComment: color = greyColor default: color = yellowColor @@ -277,7 +277,7 @@ func parseHookPullRequestEventType(event webhook_module.HookEventType) (string, return "approved", nil case webhook_module.HookEventPullRequestReviewRejected: return "rejected", nil - case webhook_module.HookEventPullRequestComment: + case webhook_module.HookEventPullRequestReviewComment: return "comment", nil default: |