diff options
author | citrons <citrons> | 2021-08-08 00:02:25 +0000 |
---|---|---|
committer | citrons <citrons> | 2021-08-08 00:02:25 +0000 |
commit | 242f8cd10f51caa271bb4a5bdbab24f06edaf157 (patch) | |
tree | cd18c96660a55a67e623893fb4360f871bb01952 | |
parent | 5e46fa10619a8b4d0e7c635658aa36ca47c8a624 (diff) |
p_create_threads actually does the
-rw-r--r-- | apioforum/forum.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apioforum/forum.py b/apioforum/forum.py index 270b328..ce0215c 100644 --- a/apioforum/forum.py +++ b/apioforum/forum.py @@ -168,6 +168,7 @@ def view_forum(forum): ) @forum_route("create_thread",methods=("GET","POST")) +@requires_permission("p_create_threads") def create_thread(forum): db = get_db() forum = db.execute("SELECT * FROM forums WHERE id = ?",(forum['id'],)).fetchone() |