fix vote_dir in @user/voted/comments

master
Aevann1 2022-10-16 10:10:50 +02:00
parent c0b6fc1b42
commit 24e7828ae0
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ def user_upvoted_posts(v, username):
@app.get("/@<username>/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")