add, 'private' json to submission

This commit is contained in:
Captain 2021-10-13 23:11:52 +02:00
parent 67d710fe45
commit faea5fa436

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,