Skip to content
Permalink
Browse files
feat: add log for emails
  • Loading branch information
MantasMikal committed Feb 5, 2021
1 parent 625a9cb commit 5c575f419d9ef7ac1ca8a51a9be537855fefda7d
Showing 1 changed file with 1 addition and 0 deletions.
@@ -39,6 +39,7 @@ const sendEmail = async (transporter, data) =>
new Promise((resolve, reject) => {
transporter.sendMail(data, (err, info) => {
if (err) reject(err);
console.log('Sending email: ', info)
resolve(info);
});
});

0 comments on commit 5c575f4

Please sign in to comment.