This commit is contained in:
Aevann1 2021-09-13 13:18:19 +02:00
parent d2687c8338
commit a8f8afa093
5 changed files with 5 additions and 6 deletions

View file

@ -590,7 +590,6 @@ def api_comment(v):
parent_post.comment_count = g.db.query(Comment).filter_by(parent_submission=parent_post.id).count()
g.db.add(parent_post)
g.db.commit()
if request.headers.get("Authorization"): return c.json
else: return jsonify({"html": render_template("comments.html",