Fix: remove unnecessary then and catch

This commit is contained in:
csrapr 2021-05-12 23:17:13 +01:00 committed by Josh Harvey
parent c442b5713a
commit 680131fbb8

View file

@ -13,7 +13,7 @@ exports.up = async function (next) {
config[key] = 'none'
}
}, cryptoCodes)
return settingsLoader.saveConfig(config).then(() => next()).catch(err => next(err))
return settingsLoader.saveConfig(config)
}
exports.down = function (next) {