Transactional mail: added data rendering

This commit is contained in:
Alexey Zinkevych 2019-04-02 14:38:12 +03:00
parent 80279346f3
commit 76b4f8b8c2
6 changed files with 24 additions and 17 deletions

View file

@ -303,6 +303,7 @@ router.postAsync('/templates/:templateId/send', async (req, res) => {
});
const info = await templateSender.send({
context: req.context,
data: input.DATA,
email: input.EMAIL,
locale: req.locale,
sendConfigurationId: input.SEND_CONFIGURATION_ID,