Fix missing quotes in decorator example

This commit is contained in:
Lewis
2018-10-08 18:59:15 +09:00
committed by GitHub
parent 5cc12fd945
commit a16842f7bc

View File

@@ -34,6 +34,6 @@ def authorized():
@app.route("/") @app.route("/")
@authorized() @authorized()
async def test(request): async def test(request):
return json({status: 'authorized'}) return json({'status': 'authorized'})
``` ```