diff --git a/server/objects/settings/ServerSettings.js b/server/objects/settings/ServerSettings.js index d5519c52..e5700a07 100644 --- a/server/objects/settings/ServerSettings.js +++ b/server/objects/settings/ServerSettings.js @@ -190,7 +190,7 @@ class ServerSettings { this.backupPath = process.env.BACKUP_PATH } - this.backupPathEnvSet = !!settings.process.env.BACKUP_PATH || false + this.backupPathEnvSet = !!process.env.BACKUP_PATH || false } toJSON() {