297e772c20
When repository contains a Slack type hook, it changes original payload content. This patch fixes it by using a local object to store newly created Slack payload instead of assigning back to the same variable. |
||
---|---|---|
.. | ||
cron | ||
migrations | ||
access.go | ||
action.go | ||
admin.go | ||
error.go | ||
git_diff.go | ||
git_diff_test.go | ||
issue.go | ||
login.go | ||
models.go | ||
models_sqlite.go | ||
models_tidb.go | ||
org.go | ||
pull.go | ||
release.go | ||
repo.go | ||
repo_branch.go | ||
ssh_key.go | ||
token.go | ||
update.go | ||
user.go | ||
webhook.go | ||
webhook_slack.go | ||
wiki.go |