mirror of
https://github.com/go-gitea/gitea.git
synced 2025-10-17 14:11:46 +00:00

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.