2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01:00

Added mailgunIsConfigured prop to config API

refs #10318

This will replace the isConfig property attached to the bulk_email_settings
This commit is contained in:
Fabien O'Carroll 2020-07-02 18:11:22 +02:00 committed by Fabien 'egg' O'Carroll
parent 5e6a4f6f7d
commit 957cf9fd1d

View file

@ -19,7 +19,8 @@ module.exports = {
labs: labs.getAll(),
clientExtensions: config.get('clientExtensions') || {},
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
stripeDirect: config.get('stripeDirect')
stripeDirect: config.get('stripeDirect'),
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun
};
if (billingUrl) {
response.billingUrl = billingUrl;