forked from rDrama/rDrama
fdfd
parent
88ee935d14
commit
1d739cad0a
|
@ -1083,7 +1083,7 @@ def undelete_post_pid(pid, v):
|
|||
@app.route("/embed/post/<pid>", methods=["GET"])
|
||||
def embed_post_pid(pid):
|
||||
|
||||
post = get_post(pid)
|
||||
post = get_post(int(pid))
|
||||
|
||||
if post.is_banned:
|
||||
abort(410)
|
||||
|
|
Loading…
Reference in New Issue