Skip to content

Commit

Permalink
Merge pull request #1352 from devArtoria/patch-1
Browse files Browse the repository at this point in the history
Fix missing quotes in decorator example
  • Loading branch information
yunstanford committed Oct 9, 2018
2 parents 5cc12fd + a16842f commit ed1f3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/sanic/decorators.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ def authorized():
@app.route("/")
@authorized()
async def test(request):
return json({status: 'authorized'})
return json({'status': 'authorized'})
```

0 comments on commit ed1f3da

Please sign in to comment.