remotes/1693045480750635534/spooky-22
Aevann1 2021-10-25 15:58:27 +02:00
parent 24385ad618
commit 8bae45d6c5
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ def post_id(pid, anything=None, v=None):
post = get_post(pid, v=v)
if post.club and not (v and v.paid_dues) or post.is_private and not (v and v.id == post.author_id): abort(403)
if post.club and not (v and v.paid_dues) or post.private and not (v and v.id == post.author_id): abort(403)
if v:
votes = g.db.query(CommentVote).options(lazyload('*')).filter_by(user_id=v.id).subquery()