autobrr/internal/notification
KaiserBh e0aaa0bcab
fix(notifications): test handle unsupported type (#841)
* bugfix: nil pointer dereference

if agent variable is nil when the Send method is called, will crash.

* refactor: return early.

* refactor: idiomatic solution.

---------

Co-authored-by: KaiserBh <kaiserbh@proton.me>
2023-04-16 18:44:07 +02:00
..
discord.go fix(actions): cross platform watch dir file handling (#458) 2022-09-10 20:31:46 +02:00
notifiarr.go fix(newznab): Use valid usenet release protocol for Starrs (#762) 2023-03-19 20:58:47 +01:00
service.go fix(notifications): test handle unsupported type (#841) 2023-04-16 18:44:07 +02:00
telegram.go fix(actions): cross platform watch dir file handling (#458) 2022-09-10 20:31:46 +02:00