0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

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);
};