From c609f54f161901098cdcd3739b3591e486ceb238 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 4 Sep 2015 22:49:50 -0400 Subject: instructions --- lib/bucky.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/bucky.js') diff --git a/lib/bucky.js b/lib/bucky.js index 6022bb2..9ec28f4 100644 --- a/lib/bucky.js +++ b/lib/bucky.js @@ -13,7 +13,10 @@ var bucky = module.exports = { ensureCommentCountsForThreads: function (req, res, next){ var ids = res.threads.pluck("id") db.getCommentCounts(ids).then(function(counts){ + var lookup = {} console.log(counts) + counts.forEach(function(count){ + }) next() }) }, -- cgit v1.2.3-70-g09d2