summaryrefslogtreecommitdiff
path: root/lib/bucky.js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-09-04 22:49:50 -0400
committerJules Laplace <jules@okfoc.us>2015-09-04 22:49:50 -0400
commitc609f54f161901098cdcd3739b3591e486ceb238 (patch)
tree391d4696931c12e25676351d6a714915a9425640 /lib/bucky.js
parent43cc797baac3b5e82552c3c6b1e57350d6384598 (diff)
instructions
Diffstat (limited to 'lib/bucky.js')
-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()
})
},