mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
#3274 fix can't get webhook detail of organization
This commit is contained in:
@@ -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