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) ?? {}; }, }; };