Add replies back in for JSON responses.

pull/166/head
float-trip 2023-07-06 00:26:49 +00:00
parent 71ecc1ad34
commit e6bf1f48d8
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ class Comment(Base):
'is_bot': self.is_bot,
'reports': reports,
'author': '👻' if self.ghost else self.author.json,
# 'replies': [x.json for x in self.replies(sort="old", v=None)] # WORKER TIMEOUTS ON BUGTHREAD
'replies': [x.json for x in self.replies(sort="old", v=None)] # WORKER TIMEOUTS ON BUGTHREAD
}
if self.level >= 2: data['parent_comment_id'] = self.parent_comment_id