diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/index.js b/src/index.js index 7ceecf0..c2ad0c1 100644 --- a/src/index.js +++ b/src/index.js @@ -59,7 +59,7 @@ function setUpModels(){ }, likes: { type: Sequelize.INTEGER, - } + }, }), "pictures": database.define('pictures', { source: { type: Sequelize.TEXT, allowNull: false}, @@ -109,7 +109,6 @@ function setUpModels(){ const models = setUpModels(); const templates = require('./templates'); sync(); - server.setUpRoutes(models, jwtFunctions, database, templates.setUpTemplates()); server.listen(config.port); |