0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Fixed config variable in UpdateCheck

refs 2e7d0a4e26

- the referenced commit pushed some refactors to the service but
  `this.config` should have just been `config`
- Ghost was 500ing so this commit fixes the incorrect variable
This commit is contained in:
Daniel Lockyer 2021-06-02 14:29:11 +01:00
parent 666baf8d50
commit 4edb8f40d6
No known key found for this signature in database
GPG key ID: D21186F0B47295AD

View file

@ -42,7 +42,7 @@ module.exports = () => {
databaseType: config.get('database').client,
checkEndpoint: config.get('updateCheck:url'),
isPrivacyDisabled: config.isPrivacyDisabled('useUpdateCheck'),
notificationGroups: this.config.get('notificationGroups'),
notificationGroups: config.get('notificationGroups'),
siteUrl: urlUtils.urlFor('home', true),
forceUpdate: config.get('updateCheck:forceUpdate'),
ghostVersion: ghostVersion.original