Aevann1 2022-07-09 14:02:21 +02:00
parent f166522b26
commit 5dcd678193
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
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