From e80dab6bb9e39b4c3b6437db2970a86338bdd6d4 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 20 Dec 2022 23:12:12 +0200 Subject: [PATCH] remove replies from comment json temporarily until i figure it out --- files/classes/comment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/comment.py b/files/classes/comment.py index 19a99eef1..e727c1810 100644 --- a/files/classes/comment.py +++ b/files/classes/comment.py @@ -231,7 +231,7 @@ class Comment(Base): 'is_bot': self.is_bot, 'flags': flags, 'author': '👻' if self.ghost else self.author.json, - 'replies': [x.json(db=db) for x in self.replies(sort="old", v=None, db=db)] + # 'replies': [x.json(db=db) for x in self.replies(sort="old", v=None, db=db)] # WORKER TIMEOUTS ON BUGTHREAD } if self.level >= 2: data['parent_comment_id'] = self.parent_comment_id