Skip to content

Commit

Permalink
chore(mail): update to field mailer (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonVreling authored Feb 8, 2021
1 parent 1225a58 commit 959eae2
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 959eae2

Please sign in to comment.