This commit is contained in:
Aevann1 2022-01-12 03:19:13 +02:00
parent 698a67c684
commit 00a59e869f
17 changed files with 75 additions and 71 deletions

View file

@ -317,7 +317,7 @@ class Submission(Base):
data=self.json_core
if self.deleted_utc > 0 or self.is_banned:
if self.deleted_utc or self.is_banned:
return data
data["author"]=self.author.json_core