mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 12:07:10 +02:00
#3274 fix can't get webhook detail of organization
This commit is contained in:
1 parent
fff615d5fc
commit
3d93532c87
5 files changed
+26
-9
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user