Merge remote-tracking branch 'origin/development' into development-tb
# Conflicts: # server/lib/template-sender.js # server/routes/api.js
This commit is contained in:
commit
a22187ef12
2 changed files with 6 additions and 1 deletions
|
@ -311,6 +311,7 @@ router.postAsync('/templates/:templateId/send', async (req, res) => {
|
|||
|
||||
const emails = input.EMAIL.split(',');
|
||||
|
||||
// TODO: attachments: input.ATTACHMENTS || []
|
||||
const info = await templates.sendAsTransactionalEmail(req.context, templateId, sendConfigurationId, emails, input.SUBJECT, input.VARIABLES);
|
||||
|
||||
res.json({ data: info });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue