fix(email): add sender name to sendTemplate

This commit is contained in:
Aminejvm 2021-06-11 19:02:29 +01:00
parent 88e7b4a199
commit ced4c05334

View File

@ -38,7 +38,7 @@ export const sendEmail = async ({
export const sendTemplate = async ({ to, from, templateId, templateData }) => {
const msg = {
to: to,
from: from,
from: { email: from, name: "Slate Storage" },
templateId: templateId,
dynamic_template_data: { ...templateData },
};