summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2017-08-29 09:20:35 +0800
committerGitHub <noreply@github.com>2017-08-29 09:20:35 +0800
commit15d3872281044cfd7aeaf17dae66f6b89078a55e (patch)
tree7448d940a6b1df68fd19376386e5eec15a02adb3 /routers/repo
parent019c90ab8f2ee1cf6b43d6a0c759e322b9859271 (diff)
downloadgitea-15d3872281044cfd7aeaf17dae66f6b89078a55e.tar.gz
gitea-15d3872281044cfd7aeaf17dae66f6b89078a55e.zip
fix missing orgnization discord webhook (#2414)
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/webhook.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/repo/webhook.go b/routers/repo/webhook.go
index ade40649b6..58412997df 100644
--- a/routers/repo/webhook.go
+++ b/routers/repo/webhook.go
@@ -104,7 +104,6 @@ func WebhooksNew(ctx *context.Context) {
ctx.Data["DiscordHook"] = map[string]interface{}{
"Username": "Gitea",
"IconURL": setting.AppURL + "img/favicon.png",
- "Color": 16724530,
}
}
ctx.Data["BaseLink"] = orCtx.Link