summaryrefslogtreecommitdiffstats
path: root/models/webhook_slack.go
diff options
context:
space:
mode:
authorKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-11-29 09:25:47 +0100
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2016-11-29 11:50:22 +0100
commit42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1 (patch)
tree125a480f9643570c92dd2859ba3bfc6d2b39b31d /models/webhook_slack.go
parentdad806d3ea0da6a09eea14ac467d0c843a98dda4 (diff)
downloadgitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.tar.gz
gitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.zip
Fix breakage from vendor-update
Diffstat (limited to 'models/webhook_slack.go')
-rw-r--r--models/webhook_slack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook_slack.go b/models/webhook_slack.go
index a872e7256c..aaeef6a001 100644
--- a/models/webhook_slack.go
+++ b/models/webhook_slack.go
@@ -157,7 +157,7 @@ func getSlackPullRequestPayload(p *api.PullRequestPayload, slack *SlackMeta) (*S
} else {
text = fmt.Sprintf("[%s] Pull request closed: %s by %s", p.Repository.FullName, titleLink, senderLink)
}
- case api.HookIssueReopened:
+ case api.HookIssueReOpened:
text = fmt.Sprintf("[%s] Pull request re-opened: %s by %s", p.Repository.FullName, titleLink, senderLink)
case api.HookIssueEdited:
text = fmt.Sprintf("[%s] Pull request edited: %s by %s", p.Repository.FullName, titleLink, senderLink)