Skip to content
This repository has been archived by the owner on Jul 9, 2019. It is now read-only.

Commit

Permalink
update to Sequelize 3
Browse files Browse the repository at this point in the history
  • Loading branch information
xdarklight committed Nov 5, 2016
1 parent 32f18e5 commit 9a2027a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cm-update-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ models.sequelize.sync().then(function() {
}

server.get('/changelog/:romId', function (req, res, next) {
models.Rom.find(req.params.romId).then(function(rom) {
models.Rom.findById(req.params.romId).then(function(rom) {
if (!rom) {
res.send(404);
return next();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"config": ">= 0.4.x",
"restify": ">= 3.0.x",
"sequelize-cli": ">= 2.0.0",
"sequelize": ">= 2.0.5"
"sequelize": ">= 3.0.0"
},

"optionalDependencies": {
Expand Down

0 comments on commit 9a2027a

Please sign in to comment.