Add replies back in for JSON responses. #166

Closed
float-trip wants to merge 1 commits from <deleted>:return-threads into master
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ class Comment(Base):
'is_bot': self.is_bot, 'is_bot': self.is_bot,
'reports': reports, 'reports': reports,
'author': '👻' if self.ghost else self.author.json, '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 if self.level >= 2: data['parent_comment_id'] = self.parent_comment_id