Aevann1 2022-07-09 14:21:28 +00:00
parent 95194359fa
commit 79824227de
1 changed files with 2 additions and 1 deletions

View File

@ -305,7 +305,8 @@ class Comment(Base):
if self.level>=2: data['parent_comment_id']= self.parent_comment_id if self.level>=2: data['parent_comment_id']= self.parent_comment_id
data['replies'] = [x.json_core for x in self.replies()] if "replies" in self.__dict__:
data['replies']=[x.json_core for x in self.replies(None)]
return data return data