summaryrefslogtreecommitdiff
path: root/bucky/app/bucky.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-12-11 10:04:14 +0100
committerJules Laplace <julescarbon@gmail.com>2017-12-11 10:04:14 +0100
commit242eed0093c59047033c286d7a14608d0096b125 (patch)
tree71fddb93c5f2c65eb9a3b0a628b2b879eba0007c /bucky/app/bucky.js
parentc06f440e4a41853fc30ff5b231c68bd766ba96fa (diff)
comment edit form
Diffstat (limited to 'bucky/app/bucky.js')
-rw-r--r--bucky/app/bucky.js1
1 files changed, 1 insertions, 0 deletions
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()
}