remove bug

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-11-13 22:03:51 -06:00
parent df992db1db
commit 1ae4613d6d
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ class Comment(Base):
def json(self):
if self.is_banned:
data = {'is_banned': True,
'ban_reason': self.ban_reason if not self.shadowbanned else '',
'ban_reason': self.ban_reason,
'id': self.id,
'post': self.post.id if self.post else 0,
'level': self.level,