fix img / comments img

This commit is contained in:
lesion
2019-06-26 18:37:02 +02:00
parent 63c01d2629
commit c6fb23810a
4 changed files with 22 additions and 14 deletions

View File

@@ -26,7 +26,7 @@ module.exports = {
return -1
} catch(e) {}
await db.sequelize.sync({force: true}).catch(e => {
await db.sequelize.sync().catch(e => {
consola.error('Error creating tables', e)
return -1
})