mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 08:49:13 +00:00
feat(notifications): on update available (#352)
This commit is contained in:
parent
b4589243de
commit
2a3a839081
11 changed files with 326 additions and 18 deletions
|
@ -128,7 +128,9 @@ func (s *service) registerSenders() {
|
|||
|
||||
// Send notifications
|
||||
func (s *service) Send(event domain.NotificationEvent, payload domain.NotificationPayload) {
|
||||
s.log.Debug().Msgf("sending notification for %v", string(event))
|
||||
if len(s.senders) > 0 {
|
||||
s.log.Debug().Msgf("sending notification for %v", string(event))
|
||||
}
|
||||
|
||||
go func() {
|
||||
for _, sender := range s.senders {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue