mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
Added forceUpgrade config settings
no issue - Added the `forceUpgrade` config setting to be able to use it together with BMA. - The flag is a property of `host_settings` and is passed to the Admin client
This commit is contained in:
parent
51c62371af
commit
989ab0edb5
2 changed files with 4 additions and 2 deletions
|
@ -23,7 +23,8 @@ module.exports = {
|
||||||
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
|
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
|
||||||
stripeDirect: config.get('stripeDirect'),
|
stripeDirect: config.get('stripeDirect'),
|
||||||
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
|
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
|
||||||
emailAnalytics: config.get('emailAnalytics')
|
emailAnalytics: config.get('emailAnalytics'),
|
||||||
|
forceUpgrade: config.get('host_settings:forceUpgrade') || false
|
||||||
};
|
};
|
||||||
if (billingUrl) {
|
if (billingUrl) {
|
||||||
response.billingUrl = billingUrl;
|
response.billingUrl = billingUrl;
|
||||||
|
|
|
@ -23,7 +23,8 @@ module.exports = {
|
||||||
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
|
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
|
||||||
stripeDirect: config.get('stripeDirect'),
|
stripeDirect: config.get('stripeDirect'),
|
||||||
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
|
mailgunIsConfigured: config.get('bulkEmail') && config.get('bulkEmail').mailgun,
|
||||||
emailAnalytics: config.get('emailAnalytics')
|
emailAnalytics: config.get('emailAnalytics'),
|
||||||
|
forceUpgrade: config.get('host_settings:forceUpgrade') || false
|
||||||
};
|
};
|
||||||
if (billingUrl) {
|
if (billingUrl) {
|
||||||
response.billingUrl = billingUrl;
|
response.billingUrl = billingUrl;
|
||||||
|
|
Loading…
Add table
Reference in a new issue