Skip to content

Commit

Permalink
chore(mail): update to field mailer
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonVreling committed Nov 14, 2020
1 parent 11589df commit 0001911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ exports.claimCode = async (req, res) => {
await codeToClaim.update({ claimed_by: req.user.id });

await mailer.sendMail({
to: req.user.email,
to: req.user.notification_email,
subject: `Your ${req.integration.name} discount code`,
template: 'custom.html',
parameters: {
Expand Down

0 comments on commit 0001911

Please sign in to comment.