Fix: remove unnecessary then and catch
This commit is contained in:
parent
c442b5713a
commit
680131fbb8
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ exports.up = async function (next) {
|
||||||
config[key] = 'none'
|
config[key] = 'none'
|
||||||
}
|
}
|
||||||
}, cryptoCodes)
|
}, cryptoCodes)
|
||||||
return settingsLoader.saveConfig(config).then(() => next()).catch(err => next(err))
|
return settingsLoader.saveConfig(config)
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.down = function (next) {
|
exports.down = function (next) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue