fix: add email service check in ShouldUseNotify method
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user