From 242eed0093c59047033c286d7a14608d0096b125 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 11 Dec 2017 10:04:14 +0100 Subject: comment edit form --- bucky/app/bucky.js | 1 + 1 file changed, 1 insertion(+) (limited to 'bucky/app/bucky.js') diff --git a/bucky/app/bucky.js b/bucky/app/bucky.js index ce02b24..2689c4b 100644 --- a/bucky/app/bucky.js +++ b/bucky/app/bucky.js @@ -191,6 +191,7 @@ var bucky = module.exports = { } db.getCommentById(id).then(function(comment){ if (comment) { + comment.set('comment', comment.get('comment').toString()) res.comment = comment next() } -- cgit v1.2.3-70-g09d2