feat(notification): add to field for email (#327)

This commit is contained in:
Brian Baraban
2020-09-26 14:52:57 -05:00
committed by GitHub
parent 07bd246e87
commit 8828dd15cd
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ export function sendEmail(link: Link, store: Store) {
from: email.username,
subject: Print.inStock(link, store),
text: link.cartUrl ? link.cartUrl : link.url,
to: email.username
to: email.to
};
transporter.sendMail(mailOptions, error => {