This commit is contained in:
Aevann1 2021-07-26 20:04:44 +02:00
parent a8803422e9
commit fb0ae74585
2 changed files with 2 additions and 2 deletions

View file

@ -901,7 +901,7 @@ def undelete_comment(cid, v):
@app.route("/api/v1/embed/post/<pid>/comment/<cid>", methods=["GET"])
def embed_comment_cid(cid, pid=None):
comment = get_comment(cid)
comment = get_comment(int(cid))
if not comment.parent:
abort(403)