Skip to content

Commit

Permalink
docs: Fix incorrect import paths in faq.md (#669)
Browse files Browse the repository at this point in the history
  • Loading branch information
videvide authored Dec 8, 2024
1 parent 8bce855 commit b72b32c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ title: Frequently Asked Questions
The request object is accessible via the `get_request` method.

```python
from strawberry_django.auth.utils import get_request
from strawberry_django.utils.requests import get_request

def resolver(root, info: Info):
request = get_request(info)
Expand All @@ -20,7 +20,7 @@ def resolver(root, info: Info):
The current user object is accessible via the `get_current_user` method.

```python
from strawberry_django.auth.queries import get_current_user
from strawberry_django.auth.utils import get_current_user

def resolver(root, info: Info):
current_user = get_current_user(info)
Expand Down

0 comments on commit b72b32c

Please sign in to comment.