From 18a9e28855668f3145eb12c664c06e0490902c47 Mon Sep 17 00:00:00 2001 From: Jaison Dennis Date: Mon, 25 Dec 2023 12:42:28 +0530 Subject: [PATCH] Mailer Somewhat Ready --- functions/mail.js | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/mail.js b/functions/mail.js index ab0270b..dca2037 100644 --- a/functions/mail.js +++ b/functions/mail.js @@ -85,6 +85,7 @@ const main = () => { // await new Promise((resolve) => setTimeout(resolve, 15000)); // console.log("Resuming..."); // } + await transporter.sendMail(mailOptions); console.log(`Sent QR code for id ${id} to ${email}`); } catch (error) {