summaryrefslogtreecommitdiff
path: root/lib/bucky.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bucky.js')
-rw-r--r--lib/bucky.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/bucky.js b/lib/bucky.js
index aed6494..dddbae9 100644
--- a/lib/bucky.js
+++ b/lib/bucky.js
@@ -39,10 +39,8 @@ var bucky = module.exports = {
})
},
ensureHootbox: function (req, res, next){
- db.getCommentsForThread(1, 50).then(function(hootbox){
- res.hootbox = hootbox.forEach(function(comment){
- comment.set("comment", comment.get("comment").toString() )
- })
+ db.getCommentsForThread(1, 9).then(function(hootbox){
+ res.hootbox = hootbox
next()
})
},