added missing break statements in notifier loading loop

This commit is contained in:
BroodjeAap 2022-12-30 11:21:42 +00:00
parent 32900ee652
commit e0a833a813

View file

@ -195,16 +195,19 @@ func (web *Web) initNotifiers() {
{
notifier = &notifiers.EmailNotifier{}
success = notifier.Open(notifierPath)
break
}
case "shoutrrr":
{
notifier = &notifiers.ShoutrrrNotifier{}
success = notifier.Open(notifierPath)
break
}
case "apprise":
{
notifier = &notifiers.AppriseNotifier{}
success = notifier.Open(notifierPath)
break
}
default:
{