forked from rDrama/rDrama
master
parent
52b6951b7b
commit
3962434898
|
@ -198,7 +198,7 @@ def post_id(pid, anything=None, v=None):
|
||||||
post.tree_comments()
|
post.tree_comments()
|
||||||
|
|
||||||
if request.headers.get("Authorization"): return post.json
|
if request.headers.get("Authorization"): return post.json
|
||||||
else: return post.rendered_page(v=v, read, sort=sort)
|
else: return post.rendered_page(v=v, read=read, sort=sort)
|
||||||
|
|
||||||
|
|
||||||
@app.post("/edit_post/<pid>")
|
@app.post("/edit_post/<pid>")
|
||||||
|
|
Loading…
Reference in New Issue