Skip to content

Commit

Permalink
Update request.md - nitpick
Browse files Browse the repository at this point in the history
  • Loading branch information
BeastImran committed May 2, 2024
1 parent f8e0a72 commit 99387c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion guide/content/en/guide/basics/request.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ The `request.ctx` object by default is a `SimpleNamespace` object allowing you t

This is often used to store items like authenticated user details. We will get more into [middleware](./middleware.md) later, but here is a simple example.

```python
@app.on_request
async def run_before_handler(request):
request.ctx.user = await fetch_user_by_token(request.token)
Expand Down

0 comments on commit 99387c5

Please sign in to comment.