fix: save config used on migration
This commit is contained in:
parent
c072803ac3
commit
bd2d2b06c2
12 changed files with 31 additions and 19 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const { saveConfig } = require('../lib/new-settings-loader')
|
||||
const { migrationSaveConfig } = require('../lib/new-settings-loader')
|
||||
|
||||
exports.up = function (next) {
|
||||
const triggersDefault = {
|
||||
|
|
@ -6,7 +6,7 @@ exports.up = function (next) {
|
|||
triggersConfig_automation: 'Automatic'
|
||||
}
|
||||
|
||||
return saveConfig(triggersDefault)
|
||||
return migrationSaveConfig(triggersDefault)
|
||||
.then(() => next())
|
||||
.catch(err => {
|
||||
console.log(err.message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue