1
0
Fork 0
forgejo/services/repository
zeripath f2f99a7d0c
Ensure that pusher is not nil preventing panic in push (#13945)
PR #13381 refactored notification actions to call NotifyCreateRef and
NotifyDeleteRef in a slightly different manner. This leads to the pusher
not being set before the call.

This PR ensures that the pusher is updated before the call.

Fix #13940

Signed-off-by: Andrew Thornton <art27@cantab.net>
2020-12-11 18:27:00 +01:00
..
generate.go Adopt repositories (#12920) 2020-09-25 07:09:23 +03:00
main_test.go Move transfer repository and rename repository on a service package and start action notification (#8573) 2019-11-15 16:06:11 +08:00
push.go Ensure that pusher is not nil preventing panic in push (#13945) 2020-12-11 18:27:00 +01:00
repository.go Fix repository create/delete event webhooks (#13008) 2020-10-02 10:37:46 +01:00
transfer.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00
transfer_test.go API endpoint for repo transfer (#9947) 2020-01-31 15:49:04 +00:00