We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2f96f4 commit 6010ac7Copy full SHA for 6010ac7
docs/auth_integration.md
@@ -24,7 +24,7 @@ from ninja_jwt.authentication import JWTAuth
24
router = router('')
25
26
@router.get('/some-endpoint', auth=JWTAuth())
27
-def some_endpoint(self):
+def some_endpoint(request):
28
...
29
```
30
@@ -71,4 +71,4 @@ class MyController:
71
N:B `some_endpoint` must be asynchronous. Any endpoint function marked with `AsyncJWTAuth` must be asynchronous.
72
73
!!! warning
74
- Asynchronous feature is only available for django version > 3.0
+ Asynchronous feature is only available for django version > 3.0
0 commit comments