diff --git a/drama/routes/comments.py b/drama/routes/comments.py index 162812d8a..7dba8f3f1 100644 --- a/drama/routes/comments.py +++ b/drama/routes/comments.py @@ -843,8 +843,8 @@ def edit_comment(cid, v): return jsonify({"html": c.body_html}) -@app.route("/delete/comment/") -@app.route("/api/v1/delete/comment/") +@app.route("/delete/comment/", methods=["GET", "POST"]) +@app.route("/api/v1/delete/comment/", methods=["GET", "POST"]) @auth_required @validate_formkey @api("delete")