Commit 681601bb authored by Rosanny Sihombing's avatar Rosanny Sihombing
Browse files

MLAB-671

parent c26cf70c
...@@ -369,7 +369,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) { ...@@ -369,7 +369,7 @@ module.exports = function (app: any, config: any, passport: any, lang: string) {
mailer.options.to = loggedInUser.email mailer.options.to = loggedInUser.email
mailer.options.subject = emailSubject mailer.options.subject = emailSubject
mailer.options.html = emailContent mailer.options.html = emailContent
mailer.transport.sendMail(mailer.options, function (err: any) { mailer.transporter.sendMail(mailer.options, function (err: any) {
if (err) { if (err) {
console.log('cannot send email') console.log('cannot send email')
throw err throw err
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment