Merge pull request #1352 from devArtoria/patch-1
Fix missing quotes in decorator example
This commit is contained in:
commit
ed1f3daacc
|
@ -34,6 +34,6 @@ def authorized():
|
|||
@app.route("/")
|
||||
@authorized()
|
||||
async def test(request):
|
||||
return json({status: 'authorized'})
|
||||
return json({'status': 'authorized'})
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user