forked from MarseyWorld/MarseyWorld
fix vote_dir in @user/voted/comments
parent
c0b6fc1b42
commit
24e7828ae0
|
@ -142,7 +142,7 @@ def user_upvoted_posts(v, username):
|
||||||
@app.get("/@<username>/upvoted/comments")
|
@app.get("/@<username>/upvoted/comments")
|
||||||
@auth_required
|
@auth_required
|
||||||
def user_upvoted_comments(v, username):
|
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")
|
@app.get("/poorcels")
|
||||||
|
|
Loading…
Reference in New Issue