From 5ddc87a072a87188e55e80f9fe8ad2270b071893 Mon Sep 17 00:00:00 2001 From: Nathan Leniz Date: Tue, 10 Mar 2015 08:18:17 +0900 Subject: [PATCH] Missing next declaration --- controllers/story.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/story.js b/controllers/story.js index d73686aa02..e5d1788e0a 100644 --- a/controllers/story.js +++ b/controllers/story.js @@ -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) {