diff --git a/core/server/api/canary/posts.js b/core/server/api/canary/posts.js index 079c5637d5..2d3162940c 100644 --- a/core/server/api/canary/posts.js +++ b/core/server/api/canary/posts.js @@ -148,7 +148,6 @@ module.exports = { } if (!model.get('email') && (model.get('status') === 'published') && model.wasChanged()) { - const email = await mega.addEmail(model.toJSON()); if (frame.options.include && frame.options.includes('email')) { diff --git a/core/server/services/mega/template.js b/core/server/services/mega/template.js index a86c3b60d2..512f394f14 100644 --- a/core/server/services/mega/template.js +++ b/core/server/services/mega/template.js @@ -861,4 +861,4 @@ figure blockquote p { `; -} \ No newline at end of file +}; \ No newline at end of file