summaryrefslogtreecommitdiffstats
path: root/routers/org/setting.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-07-16 01:02:55 +0800
committerUnknwon <u@gogs.io>2016-07-16 01:02:55 +0800
commit3d93532c87823159dd03e9c64a58c7bafed0fa64 (patch)
treecdf287400fd753711138486ce06766b3c789d96a /routers/org/setting.go
parentfff615d5fc257c812f197a801578f32c177fbef9 (diff)
downloadgitea-3d93532c87823159dd03e9c64a58c7bafed0fa64.tar.gz
gitea-3d93532c87823159dd03e9c64a58c7bafed0fa64.zip
#3274 fix can't get webhook detail of organization
Diffstat (limited to 'routers/org/setting.go')
-rw-r--r--routers/org/setting.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/org/setting.go b/routers/org/setting.go
index c50e18d7c9..a938581c61 100644
--- a/routers/org/setting.go
+++ b/routers/org/setting.go
@@ -154,7 +154,7 @@ func Webhooks(ctx *context.Context) {
return
}
- ws, err := models.GetWebhooksByOrgId(ctx.Org.Organization.Id)
+ ws, err := models.GetWebhooksByOrgID(ctx.Org.Organization.Id)
if err != nil {
ctx.Handle(500, "GetWebhooksByOrgId", err)
return