fdfd
This commit is contained in:
parent
444a1f99af
commit
6da93a7ba5
1 changed files with 1 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue