allow attachments from api

This commit is contained in:
amit.kumar 2019-06-19 15:55:39 +05:30
parent f8e9d67568
commit 20603f679c
2 changed files with 4 additions and 2 deletions

View file

@ -48,7 +48,8 @@ class TemplateSender {
return mailer.sendTransactionalMail(
{
to: options.email,
subject
subject,
attachments: options.attachments || []
},
{
html: { template: html },