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:
parent
7b89cd445a
commit
898c354644
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue