aboutsummaryrefslogtreecommitdiffstats
path: root/gogs.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-02-10 15:21:39 -0500
committerUnknwon <u@gogs.io>2016-02-10 15:21:39 -0500
commit297e772c20382afa31ad30ab65827ce0aca58446 (patch)
tree58e9a28ecfcd0df94097cd06c6efc90c1ca440e3 /gogs.go
parent8bf3032b16039a0a87e02a842475a04846325258 (diff)
downloadgitea-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.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gogs.go b/gogs.go
index 213044405f..48085aef69 100644
--- a/gogs.go
+++ b/gogs.go
@@ -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())