fix: add const for test env
This commit is contained in:
@@ -37,7 +37,7 @@ func SendMail(to []string, Subject, bodyMessage string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if envKey == "test" {
|
||||
if envKey == constants.TestEnv {
|
||||
return nil
|
||||
}
|
||||
m := gomail.NewMessage()
|
||||
|
Reference in New Issue
Block a user