mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 20:02:09 +00:00
#3274 fix can't get webhook detail of organization
This commit is contained in:
parent
fff615d5fc
commit
3d93532c87
5 changed files with 26 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue