aboutsummaryrefslogtreecommitdiff
path: root/routers/repo/setting.go
diff options
context:
space:
mode:
authorUnknwon <joe2010xtmf@163.com>2014-11-13 12:57:00 -0500
committerUnknwon <joe2010xtmf@163.com>2014-11-13 12:57:00 -0500
commit9dc3c93a6a1f0d604aa5e4408a4c43c29b963b0c (patch)
tree0d2113af522fa36d2c73760c3aace4088ee3ae78 /routers/repo/setting.go
parent9e2284048372864a7dbc5e192877ebdca04abcab (diff)
#12, add/edit hook
Diffstat (limited to 'routers/repo/setting.go')
-rw-r--r--routers/repo/setting.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/repo/setting.go b/routers/repo/setting.go
index a8e80272..491448a7 100644
--- a/routers/repo/setting.go
+++ b/routers/repo/setting.go
@@ -334,6 +334,7 @@ func WebHooksNewPost(ctx *middleware.Context, form auth.NewWebhookForm) {
return
}
+ // FIXME: code too old here, sync with APIs
ct := models.JSON
if form.ContentType == "2" {
ct = models.FORM