forked from MarseyWorld/MarseyWorld
fdfd
parent
ae891be10c
commit
0a1e55106b
|
@ -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…
Reference in New Issue