fix: remove erroneous condition in migration

This commit is contained in:
José Oliveira 2021-05-13 22:37:37 +01:00 committed by Josh Harvey
parent 02c831c13e
commit b78d4cff08

View file

@ -9,9 +9,6 @@ exports.up = function (next) {
return saveConfig(triggersDefault)
.then(() => next())
.catch(err => {
if (err.message === 'lamassu-server is not configured') {
return next()
}
console.log(err.message)
return next(err)
})