Missing next declaration

This commit is contained in:
Nathan Leniz
2015-03-10 08:18:17 +09:00
parent d6a6834971
commit 5ddc87a072

View File

@ -44,7 +44,7 @@ exports.hotJSON = function(req, res) {
});
};
exports.recentJSON = function(req, res) {
exports.recentJSON = function(req, res, next) {
var story = Story.find({}).sort({'timePosted': -1}).limit(100);
story.exec(function(err, stories) {
if (err) {