forked from MarseyWorld/MarseyWorld
remove replies from comment json temporarily until i figure it out
parent
90aff8f086
commit
e80dab6bb9
|
@ -231,7 +231,7 @@ class Comment(Base):
|
||||||
'is_bot': self.is_bot,
|
'is_bot': self.is_bot,
|
||||||
'flags': flags,
|
'flags': flags,
|
||||||
'author': '👻' if self.ghost else self.author.json,
|
'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
|
if self.level >= 2: data['parent_comment_id'] = self.parent_comment_id
|
||||||
|
|
Loading…
Reference in New Issue