fd
This commit is contained in:
parent
d2687c8338
commit
a8f8afa093
5 changed files with 5 additions and 6 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue