pushy

Signed-off-by: Kenneth Obsequio <k80308392@gmail.com>
This commit is contained in:
2026-06-28 11:29:07 +08:00
parent 463a8d3978
commit 89acdfc239
67 changed files with 2736 additions and 306 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ const sendEmail = async ({ to, type, data = {} }) => {
throw new Error(`Email template "${type}" not found`);
}
const { subject, text } = templateFn(data);
const { subject, html } = templateFn(data);
return await new Promise((resolve, reject) => {
transporter.sendMail(
@@ -43,7 +43,7 @@ const sendEmail = async ({ to, type, data = {} }) => {
},
to,
subject,
text,
html,
},
(err, info) => {
if (err) return reject(err);