From 628f9179dcebfef58199b6092b69ed40854f83b3 Mon Sep 17 00:00:00 2001 From: Rish Date: Wed, 27 Nov 2019 13:18:44 +0530 Subject: [PATCH] Fixed URL import for post email serializer no issue --- core/server/services/mega/post-email-serializer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/server/services/mega/post-email-serializer.js b/core/server/services/mega/post-email-serializer.js index 7cb994de3f..f2abc1547d 100644 --- a/core/server/services/mega/post-email-serializer.js +++ b/core/server/services/mega/post-email-serializer.js @@ -5,6 +5,7 @@ const urlUtils = require('../../lib/url-utils'); const moment = require('moment'); const cheerio = require('cheerio'); const api = require('../../api'); +const {URL} = require('url'); const getSite = () => { return Object.assign({}, settingsCache.getPublic(), {