From 640f7155fc343a24489550e3edfc79c892040f0b Mon Sep 17 00:00:00 2001 From: Nazar Gargol Date: Thu, 7 Nov 2019 11:16:22 +0700 Subject: [PATCH] Fixed linter --- core/server/api/canary/posts.js | 1 - core/server/services/mega/template.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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