This commit is contained in:
Aevann1 2021-08-25 19:37:29 +02:00
parent 444a1f99af
commit 6da93a7ba5

View file

@ -509,6 +509,7 @@ def api_comment(v):
g.db.add(parent_post)
g.db.commit()
if v.id == 1: print(c.comment_aux)
if request.headers.get("Authorization"): return c.json
else: return jsonify({"html": render_template("comments.html",
v=v,