master
Aevann1 2021-08-25 19:37:29 +02:00
parent ae891be10c
commit 0a1e55106b
1 changed files with 1 additions and 0 deletions

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,