forked from rDrama/rDrama
sfd
parent
fef4f77388
commit
f79d83b4da
|
@ -684,7 +684,7 @@ def api_comment(v):
|
|||
g.db.commit()
|
||||
|
||||
if request.headers.get("Authorization"): return c.json
|
||||
return {"comment": c.body_html}
|
||||
return {"comment": render_template("comments.html", v=v, comments=[c], ajax=True)}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue