Closed Martmists-GH closed 7 years ago
Cannot reproduce.
# code
from werkzeug.wrappers import Response
from kyoukai import Kyoukai
app = Kyoukai("aaa")
@app.route("/my/route", methods=["POST"])
async def myroute(ctx):
return Response("heck", status=400)
app.run()
INFO:asphalt.core.runner:Starting application
INFO:Kyoukai:Kyoukai serving on 127.0.0.1:4444.
INFO:asphalt.core.runner:Application started
INFO:Kyoukai:POST /my/route - 400
Found the issue. I had two different routes with the same coro name.