fsdsfd
This commit is contained in:
parent
1b49a03cea
commit
e3137813c9
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def toggle_club(pid, v):
|
|||
post.club = not post.club
|
||||
g.db.add(post)
|
||||
|
||||
W g.db.commit()
|
||||
g.db.commit()
|
||||
|
||||
if post.club: return {"message": "Post has been marked as club-only!"}
|
||||
else: return {"message": "Post has been unmarked as club-only!"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue