Fix: Mod-only information leaked via the API. (#696)
This commit is contained in:
parent
41497958b6
commit
75edfe8b31
3 changed files with 10 additions and 15 deletions
|
@ -519,7 +519,6 @@ class User(CreatedBase):
|
|||
data = self.json_core
|
||||
|
||||
data["badges"] = [x.json for x in self.badges]
|
||||
data['coins'] = self.coins
|
||||
data['post_count'] = self.post_count
|
||||
data['comment_count'] = self.comment_count
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue