summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-30 01:33:57 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-30 01:33:57 +0200
commitd2481245a88f189ea0d1b69cc91a684f3e2bb46b (patch)
tree294a7e7991c5e17f565f44a075b7e78051b07e0b
parentbe6d4251172c1a13b2777ac09026f75744b8b0e4 (diff)
tostring
-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 a2f677a..81171f4 100644
--- a/bucky/app/bucky.js
+++ b/bucky/app/bucky.js
@@ -500,6 +500,7 @@ var bucky = (module.exports = {
};
db.createComment(data).then(function (comment) {
res.comment = comment;
+ comment.set("comment", comment.get("comment").toString());
next();
});
},