diff options
author | Unknwon <u@gogs.io> | 2016-02-10 15:21:39 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-02-10 15:21:39 -0500 |
commit | 297e772c20382afa31ad30ab65827ce0aca58446 (patch) | |
tree | 58e9a28ecfcd0df94097cd06c6efc90c1ca440e3 /gogs.go | |
parent | 8bf3032b16039a0a87e02a842475a04846325258 (diff) | |
download | gitea-297e772c20382afa31ad30ab65827ce0aca58446.tar.gz gitea-297e772c20382afa31ad30ab65827ce0aca58446.zip |
#2485 fix payloads mixed up for webhook
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.
Diffstat (limited to 'gogs.go')
-rw-r--r-- | gogs.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.8.32.0207" +const APP_VER = "0.8.33.0210" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) |