mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-11 18:35:22 +03:00
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:
parent
4df59adcc6
commit
f3a581ef7f
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user