diff options
author | Zettat123 <zettat123@gmail.com> | 2023-03-24 13:13:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-24 13:13:04 +0800 |
commit | 9e04627acaaa853e5269f98f53f2615077cfb028 (patch) | |
tree | 4953dfc594e35b6276f1cb7b3ab52bfefe7842f2 /services/webhook/msteams.go | |
parent | 4acf0214b1bbee1430b753cd2ca45527d61555e9 (diff) | |
download | gitea-9e04627acaaa853e5269f98f53f2615077cfb028.tar.gz gitea-9e04627acaaa853e5269f98f53f2615077cfb028.zip |
Fix incorrect `HookEventType` of pull request review comments (#23650)
`HookEventType` of pull request review comments should be
`HookEventPullRequestReviewComment` but some event types are
`HookEventPullRequestComment` now.
Diffstat (limited to 'services/webhook/msteams.go')
-rw-r--r-- | services/webhook/msteams.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/webhook/msteams.go b/services/webhook/msteams.go index 03d92821b9..60ef334ded 100644 --- a/services/webhook/msteams.go +++ b/services/webhook/msteams.go @@ -223,7 +223,7 @@ func (m *MSTeamsPayload) 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 |