From d09d28213b192712b09ecdc3431ad6af5b81ca1b Mon Sep 17 00:00:00 2001 From: julian laplace Date: Tue, 25 Oct 2022 23:43:44 +0200 Subject: one broken comment... --- bucky/app/bucky.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bucky') 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; -- cgit v1.2.3-70-g09d2