summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-25 23:43:44 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-25 23:43:44 +0200
commitd09d28213b192712b09ecdc3431ad6af5b81ca1b (patch)
tree04894b0fbc60b610eacfa1666f2bbba22983498f
parentadad7bc3a4c205ac85d24824034dfea1f9c7ee3f (diff)
one broken comment...
-rw-r--r--bucky/app/bucky.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bucky/app/bucky.js b/bucky/app/bucky.js
index 9e0d49a..d494ce9 100644
--- a/bucky/app/bucky.js
+++ b/bucky/app/bucky.js
@@ -80,7 +80,7 @@ var bucky = (module.exports = {
db.getHootstreamThreads({ files, comments }).then((threads) => {
res.files = files;
res.comments = comments.map((comment) => {
- comment.set("comment", comment.get("comment").toString());
+ comment.comment = comment.comment.toString();
return comment;
});
res.threads = threads;