From 24e7828ae00ae270d349922567e872158e7f0b85 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 16 Oct 2022 10:10:50 +0200 Subject: [PATCH] fix vote_dir in @user/voted/comments --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index c3869bf1a..61ce17cd0 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -142,7 +142,7 @@ def user_upvoted_posts(v, username): @app.get("/@/upvoted/comments") @auth_required def user_upvoted_comments(v, username): - return user_voted(v, username, Comment, CommentVote, -1, "voted_comments.html", True) + return user_voted(v, username, Comment, CommentVote, 1, "voted_comments.html", True) @app.get("/poorcels")