master
Aevann1 2021-12-14 02:50:49 +02:00
parent f9261d840b
commit ee3526d78e
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class Comment(Base):
'permalink': self.permalink,
'is_pinned': self.is_pinned,
'distinguish_level': self.distinguish_level,
'post_id': self.post.id,
'post_id': self.post.id if self.post else None,
'score': self.score,
'upvotes': self.upvotes,
'downvotes': self.downvotes,