fix: save config used on migration

This commit is contained in:
José Oliveira 2022-01-21 00:28:04 +00:00
parent c072803ac3
commit bd2d2b06c2
12 changed files with 31 additions and 19 deletions

View file

@ -33,7 +33,7 @@ exports.up = function (next) {
}
})(deviceIds)
return settingsLoader.saveConfig(config)
return settingsLoader.migrationSaveConfig(config)
})
.then(() => next())
.catch(err => next(err))