fsdfsd
This commit is contained in:
parent
e0ebd28b28
commit
accd2ec773
1 changed files with 1 additions and 1 deletions
|
@ -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 None,
|
||||||
'score': self.score,
|
'score': self.score,
|
||||||
'upvotes': self.upvotes,
|
'upvotes': self.upvotes,
|
||||||
'downvotes': self.downvotes,
|
'downvotes': self.downvotes,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue