mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Removed unused billing url from config API
ref40cedb84ff (diff-dba52cb217f89ed45931ded5618ce83294fc32cf4a8dec73aa605c65441331b3R43)
ref639be25f1d/ghost/core/core/server/api/endpoints/utils/serializers/output/config.js
- This was moved under hostSettings very early on in development and should have been cleaned up - As this property wasn't listed in the output serializer, we know it's not being used anywhere - We can see from the limit code that it looks for hostSettings.billing.url
This commit is contained in:
parent
9e45822dbb
commit
ac345aa84d
1 changed files with 0 additions and 5 deletions
|
@ -23,10 +23,5 @@ module.exports = function getConfigProperties() {
|
|||
signupForm: config.get('signupForm')
|
||||
};
|
||||
|
||||
const billingUrl = config.get('hostSettings:billing:enabled') ? config.get('hostSettings:billing:url') : '';
|
||||
if (billingUrl) {
|
||||
configProperties.billingUrl = billingUrl;
|
||||
}
|
||||
|
||||
return configProperties;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue