Fix: Mod usernotes leaked to the public.
This commit is contained in:
parent
2c0124d4a1
commit
583f4131dc
1 changed files with 0 additions and 1 deletions
|
@ -538,7 +538,6 @@ class User(Base):
|
|||
'post_count': 0 if self.shadowbanned and not (v and (v.shadowbanned or v.admin_level > 1)) else self.post_count,
|
||||
'comment_count': 0 if self.shadowbanned and not (v and (v.shadowbanned or v.admin_level > 1)) else self.comment_count,
|
||||
'badges': [x.path for x in self.badges],
|
||||
'notes': [x.json() for x in self.notes]
|
||||
}
|
||||
|
||||
return data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue