users: fix comments page

master
justcool393 2022-10-31 23:37:29 -05:00
parent 6aabc98f62
commit 67b56fb743
1 changed files with 1 additions and 1 deletions

View File

@ -776,7 +776,7 @@ def u_username_comments(username, v=None):
if (v and v.client) or request.path.endswith(".json"):
return {"data": [c.json for c in listing]}
return render_template("userpage_comments.html", u=user, v=v, listing=listing, page=page, sort=sort, t=t,next_exists=next_exists, is_following=is_following, standalone=True)
return render_template("userpage_comments.html", u=u, v=v, listing=listing, page=page, sort=sort, t=t,next_exists=next_exists, is_following=is_following, standalone=True)
@app.get("/@<username>/info")