Fix missing quotes in decorator example
This commit is contained in:
parent
5cc12fd945
commit
a16842f7bc
|
@ -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