Skip to content

Commit

Permalink
Update newsletter.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SheItoon authored Jan 4, 2024
1 parent 0353a45 commit e19af92
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/routes/newsletter.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ newsletter_router.post('/create', authenticateTokenAdm, async (req, res) => {
if (!newsletter) return res.status(404).send('No user in newsletter');

if (process.env.UT_CI == false) {
sendEmailToMultipleRecipients(subject, text, newsletter);
const ret = await sendEmailToMultipleRecipients(subject, text, newsletter);
console.log(ret);
}
res.status(200).send('Mail successfully sent');
} catch (error) {
Expand Down

0 comments on commit e19af92

Please sign in to comment.