From 1e699491f6e7422f1d3496f1fd47c0e4e7c19446 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 26 Nov 2021 21:31:36 +0200 Subject: [PATCH] fsdsfd --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 2642623bd..64370d2ff 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -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!"}