We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea020b8 commit 735f201Copy full SHA for 735f201
backend/api/components/betting/controller.py
@@ -41,7 +41,7 @@ def handle_post():
41
return Response(f"""something went wrong with inserting the bet in the database"""
42
, 500)
43
else:
44
- return render_template("notallowed.html")
+ return Response("Only posts are allowed right now", 400)
45
46
@betting_api.route("/datatest", methods=["GET", "POST", "PUT"])
47
def handle_test():
0 commit comments