fix: add email service check in ShouldUseNotify method

This commit is contained in:
GitHub Actions
2026-03-09 00:49:07 +00:00
parent 703108051a
commit 0f823956c6

View File

@@ -17,6 +17,8 @@ func (r *Router) ShouldUseNotify(providerType string, flags map[string]bool) boo
switch strings.ToLower(providerType) {
case "discord":
return flags[FlagDiscordServiceEnabled]
case "email":
return flags[FlagEmailServiceEnabled]
case "gotify":
return flags[FlagGotifyServiceEnabled]
case "webhook":