minor-fix
This commit is contained in:
@@ -56,7 +56,7 @@ func MailgunRest(to string, data map[string]interface{}, subject string, templat
|
||||
defer resp.Body.Close()
|
||||
|
||||
if resp.StatusCode != http.StatusOK {
|
||||
return fmt.Errorf("failed to send email, status code: %d", resp.StatusCode)
|
||||
return fmt.Errorf("failed to send email, status: %d", resp.StatusCode)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user