Fixed v3 API config's billingUrl fetching

refs 26f56626ce

- The renamed was missed during the config rename host_settings -> hostSettings in the referenced commit.
This commit is contained in:
Naz 2021-03-31 13:47:49 +13:00
parent 4df59adcc6
commit f3a581ef7f

View File

@ -9,7 +9,7 @@ module.exports = {
read: {
permissions: false,
query() {
const billingUrl = config.get('host_settings:billing:enabled') ? config.get('host_settings:billing:url') : '';
const billingUrl = config.get('hostSettings:billing:enabled') ? config.get('hostSettings:billing:url') : '';
const response = {
version: ghostVersion.full,
environment: config.get('env'),