add, 'private' json to submission

remotes/1693045480750635534/spooky-22
Captain 2021-10-13 23:11:52 +02:00
parent d6a6faeb61
commit 85397c9243
1 changed files with 1 additions and 0 deletions

View File

@ -263,6 +263,7 @@ class Submission(Base):
'upvotes': self.upvotes,
'downvotes': self.downvotes,
'stickied': self.stickied,
'private' : self.private,
'distinguish_level': self.distinguish_level,
'voted': self.voted if hasattr(self, 'voted') else 0,
'flags': flags,