Skip to content

Commit

Permalink
removed html return
Browse files Browse the repository at this point in the history
  • Loading branch information
DaiseyD committed Jul 15, 2024
1 parent ea020b8 commit 735f201
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/api/components/betting/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def handle_post():
return Response(f"""something went wrong with inserting the bet in the database"""
, 500)
else:
return render_template("notallowed.html")
return Response("Only posts are allowed right now", 400)

@betting_api.route("/datatest", methods=["GET", "POST", "PUT"])
def handle_test():
Expand Down

0 comments on commit 735f201

Please sign in to comment.