diff options
author | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-11-29 09:25:47 +0100 |
---|---|---|
committer | Kim "BKC" Carlbäcker <kim.carlbacker@gmail.com> | 2016-11-29 11:50:22 +0100 |
commit | 42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1 (patch) | |
tree | 125a480f9643570c92dd2859ba3bfc6d2b39b31d /models/webhook_slack.go | |
parent | dad806d3ea0da6a09eea14ac467d0c843a98dda4 (diff) | |
download | gitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.tar.gz gitea-42ec5ce740fdd646755ca38ea5ce20f6cc7dc6b1.zip |
Fix breakage from vendor-update
Diffstat (limited to 'models/webhook_slack.go')
-rw-r--r-- | models/webhook_slack.go | 2 |
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) |