Fixed custom subjects for mega emails

This commit is contained in:
Nazar Gargol 2019-11-04 15:24:20 +07:00
parent 74f2145e81
commit fb88c541be

View File

@ -4,7 +4,7 @@ const bulkEmailService = require('./bulk-email');
const sendEmail = async (post) => {
const emailTmpl = {
subject: post.email_subject || post.title,
subject: post.posts_meta.email_subject || post.title,
html: post.html
};