forked from rDrama/rDrama
commit
368330b473
|
@ -242,7 +242,7 @@ class Comment(Base):
|
||||||
'permalink': self.permalink,
|
'permalink': self.permalink,
|
||||||
'is_pinned': self.is_pinned,
|
'is_pinned': self.is_pinned,
|
||||||
'distinguish_level': self.distinguish_level,
|
'distinguish_level': self.distinguish_level,
|
||||||
'post_id': self.post.id,
|
'post_id': self.post.id if self.post else 0,
|
||||||
'score': self.score,
|
'score': self.score,
|
||||||
'upvotes': self.upvotes,
|
'upvotes': self.upvotes,
|
||||||
'downvotes': self.downvotes,
|
'downvotes': self.downvotes,
|
||||||
|
|
Loading…
Reference in New Issue