Update if else
This commit is contained in:
parent
9893e3f305
commit
a7692b7d2e
1 changed files with 2 additions and 1 deletions
|
@ -137,8 +137,9 @@ func SendTemplatedEmail(to []string, fromName string, fromEmail string, subject
|
|||
isSESEnabled := viper.GetBool("ses-smtp.isEnabled")
|
||||
if isSESEnabled {
|
||||
return SendSES(to, fromName, fromEmail, subject, body, inlineImages)
|
||||
} else {
|
||||
return Send(to, fromName, fromEmail, subject, body, inlineImages)
|
||||
}
|
||||
return Send(to, fromName, fromEmail, subject, body, inlineImages)
|
||||
}
|
||||
|
||||
func GetMaskedEmail(email string) string {
|
||||
|
|
Loading…
Add table
Reference in a new issue