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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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