fix: config migration

This commit is contained in:
Sérgio Salgado 2021-05-06 19:20:24 +01:00 committed by Josh Harvey
parent da0d25c040
commit f1af958056
2 changed files with 3 additions and 1 deletions

View file

@ -5,7 +5,7 @@ exports.up = function (next) {
settingsLoader.loadLatest()
.then(({ config }) => {
if (!_.isEmpty(config))
config.locale.timezone = '0:0'
config.locale_timezone = '0:0'
return settingsLoader.saveConfig(config)
})
.then(() => next())