This commit is contained in:
Aevann1 2021-11-07 22:31:36 +02:00
parent 343634083e
commit 1a2188fbc1
2 changed files with 2 additions and 1 deletions

View file

@ -31,7 +31,7 @@ def toggle_club(pid, v):
post = get_post(pid)
if post.author_id != v.id or v.admin_level == 0: abort(403)
if post.author_id != v.id and v.admin_level == 0: abort(403)
post.club = not post.club
g.db.add(post)