forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-07-31 08:24:40 +02:00
parent fad12c858f
commit 959799f615
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ def api_comment(v):
v.comment_count = v.comments.filter(Comment.parent_submission != None).filter_by(is_banned=False, deleted_utc=0).count()
g.db.add(v)
if request.headers.get("Authorization"): return c.json
else: render_template("comments.html",
else: return render_template("comments.html",
v=v,
comments=[c],
render_replies=False,