summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bucky.js3
1 files changed, 3 insertions, 0 deletions
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()
})
},