mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-02 07:43:11 +03:00
Added [Test] for preview email subject
This commit is contained in:
parent
7b89cd445a
commit
898c354644
@ -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…
Reference in New Issue
Block a user