fix: error param

This commit is contained in:
xmsun 2017-08-22 16:40:42 +08:00
parent 826f1b4713
commit 35e028cd99

View File

@ -18,7 +18,7 @@ def test_sync(request):
return response.json({"test": True}) return response.json({"test": True})
@app.route("/dynamic/<name>/<id:int>") @app.route("/dynamic/<name>/<i:int>")
def test_params(request, name, i): def test_params(request, name, i):
return response.text("yeehaww {} {}".format(name, i)) return response.text("yeehaww {} {}".format(name, i))