From 67b56fb7432961d7e23e85959073cee038845a16 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Mon, 31 Oct 2022 23:37:29 -0500 Subject: [PATCH] users: fix comments page --- 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 6ce2fc226..1199f656f 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -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("/@/info")