diff --git a/files/routes/posts.py b/files/routes/posts.py index 3b0b88723..5b9482bb9 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -82,7 +82,7 @@ def submit_get(v:User, sub=None): @app.get("/h//post//") @auth_desired_with_logingate def post_id(pid, anything=None, v=None, sub=None): - if v and v.id == AEVANN_ID and post.id == 18459: + if v and v.id == AEVANN_ID and pid == 18459: print(t = time.time()) post = get_post(pid, v=v)