Added [Test] for preview email subject

This commit is contained in:
Rish 2019-11-06 19:20:12 +07:00
parent 7b89cd445a
commit 898c354644

View File

@ -29,7 +29,7 @@ const sendEmail = async (post, members) => {
const sendTestEmail = async (post, emails) => {
const emailTmpl = postEmailSerializer.serialize(post);
emailTmpl.subject = `${emailTmpl.subject} [Test]`;
return bulkEmailService.send(emailTmpl, emails);
};