diff --git a/src/email/EmailService.js b/src/email/EmailService.js index 8804330..8e24786 100644 --- a/src/email/EmailService.js +++ b/src/email/EmailService.js @@ -16,9 +16,7 @@ const sendAccountActivation = async (email, token) => { `, }); - if (process.env.NODE_ENV === 'development') { - logger.info('url: ' + nodemailer.getTestMessageUrl(info)); - } + logger.info('url: ' + nodemailer.getTestMessageUrl(info)); }; const sendPasswordReset = async (email, token) => { @@ -35,9 +33,7 @@ const sendPasswordReset = async (email, token) => { `, }); - if (process.env.NODE_ENV === 'development') { - logger.info('url: ' + nodemailer.getTestMessageUrl(info)); - } + logger.info('url: ' + nodemailer.getTestMessageUrl(info)); }; module.exports = { sendAccountActivation, sendPasswordReset };