Skip to content

Commit

Permalink
fix(mailer): issue where mail was not being sent
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Jun 9, 2019
1 parent 1b46ff4 commit 4f2ba22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emitter/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ var notifications = require('../notifications') // Load Push Events
email
.render('new-ticket', context)
.then(function (html) {
var subjectParsed = global.HandleBars.compile(template.subject)(context)
var subjectParsed = global.Handlebars.compile(template.subject)(context)
var mailOptions = {
to: emails.join(),
subject: subjectParsed,
Expand Down

0 comments on commit 4f2ba22

Please sign in to comment.