mirror of
1
Fork 0
forgejo/models/webhook
Gabriel Vasile cf06e20c0d
Check webhooks slice length before calling xorm (#20642)
xorm.db.Insert errors for empty slices. Fixes: #20641

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-08-04 00:22:50 -04:00
..
hooktask.go Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
main_test.go Use a struct as test options (#19393) 2022-04-14 21:58:21 +08:00
webhook.go Check webhooks slice length before calling xorm (#20642) 2022-08-04 00:22:50 -04:00
webhook_test.go Move almost all functions' parameter db.Engine to context.Context (#19748) 2022-05-20 22:08:52 +08:00