mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
Update if else
This commit is contained in:
parent
9893e3f305
commit
a7692b7d2e
@ -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…
x
Reference in New Issue
Block a user