summaryrefslogtreecommitdiffstats
path: root/modules/setting
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-11-21 12:26:43 +0800
committerLauris BH <lauris@nix.lv>2017-11-21 06:26:43 +0200
commit10b54df2b2efa539fbaa0bf624e81cb5da99f97a (patch)
tree24d30bb8fdb9f4396b0bc5212b3a95b6fa09cb93 /modules/setting
parent420fc8efc24d7a77598307557e5b38077d0efafc (diff)
downloadgitea-10b54df2b2efa539fbaa0bf624e81cb5da99f97a.tar.gz
gitea-10b54df2b2efa539fbaa0bf624e81cb5da99f97a.zip
Add dingtalk webhook (#2777)
* add dingtalk webhook type * add vendor * some fixes * fix name check * fix name check & improvment
Diffstat (limited to 'modules/setting')
-rw-r--r--modules/setting/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/setting.go b/modules/setting/setting.go
index d15a76f9bf..d4f92dee39 100644
--- a/modules/setting/setting.go
+++ b/modules/setting/setting.go
@@ -1509,7 +1509,7 @@ func newWebhookService() {
Webhook.QueueLength = sec.Key("QUEUE_LENGTH").MustInt(1000)
Webhook.DeliverTimeout = sec.Key("DELIVER_TIMEOUT").MustInt(5)
Webhook.SkipTLSVerify = sec.Key("SKIP_TLS_VERIFY").MustBool()
- Webhook.Types = []string{"gitea", "gogs", "slack", "discord"}
+ Webhook.Types = []string{"gitea", "gogs", "slack", "discord", "dingtalk"}
Webhook.PagingNum = sec.Key("PAGING_NUM").MustInt(10)
}