diff --git a/backend/apis/nodejs/src/utils/mail_utils.js b/backend/apis/nodejs/src/utils/mail_utils.js index 5c75545..c0e9e9a 100644 --- a/backend/apis/nodejs/src/utils/mail_utils.js +++ b/backend/apis/nodejs/src/utils/mail_utils.js @@ -21,12 +21,10 @@ function sendConfirmationLink(destinationEmail, confirmationLink) { } function sendMail(mailOptions) { - // Send mail with defined transport object transporter.sendMail(mailOptions, (error, info) => { if (error) { - return console.error(error); + console.error(error); } - console.log('Message sent: %s', info.messageId); }); }