From 1e5f231a1cccc4cd82794eae6926201f541361d9 Mon Sep 17 00:00:00 2001 From: Alex Zaganelli Date: Sun, 13 Feb 2022 00:59:34 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=96=202.0.8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- server/services/config.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index f408bf1..c090b66 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "strapi-plugin-email-designer", - "version": "2.0.7", + "version": "2.0.8", "description": "Strapi Email designer plugin.", "homepage": "https://github.com/alexzaganelli/strapi-plugin-email-designer#readme", "strapi": { @@ -67,5 +67,5 @@ "templates-design" ], "license": "MIT", - "funding": "https://paypal.me/AlexZaganelli" + "funding": "https://www.buymeacoffee.com/alexzaganelli" } diff --git a/server/services/config.js b/server/services/config.js index 562a665..658450e 100644 --- a/server/services/config.js +++ b/server/services/config.js @@ -7,7 +7,7 @@ module.exports = ({ strapi }) => { return { getConfig(key = 'editor') { - return strapi.plugin('email-designer').config(key); + return strapi.plugin('email-designer').config(key) ?? {}; }, }; };