mirror of
https://github.com/gogs/gogs.git
synced 2026-01-15 11:52:21 +01: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.