Merge pull request #1352 from devArtoria/patch-1

Fix missing quotes in decorator example
This commit is contained in:
7 2018-10-08 21:57:34 -07:00 committed by GitHub
commit ed1f3daacc
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'})
```