mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -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,
|
||||
stripeDirect: config.get('stripeDirect'),
|
||||
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) {
|
||||
response.billingUrl = billingUrl;
|
||||
|
|
|
@ -23,7 +23,8 @@ module.exports = {
|
|||
enableDeveloperExperiments: config.get('enableDeveloperExperiments') || false,
|
||||
stripeDirect: config.get('stripeDirect'),
|
||||
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) {
|
||||
response.billingUrl = billingUrl;
|
||||
|
|
Loading…
Reference in a new issue