mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-23 15:10:48 +03:00
Fixed #221
This commit is contained in:
parent
3aa35460d5
commit
08ccf2228c
|
@ -39,5 +39,5 @@ class AuthorizationMiddleware(object):
|
|||
Then, add the middleware to your schema:
|
||||
|
||||
```python
|
||||
schema = Schema(middlewares=[AuthorizationMiddleware])
|
||||
schema = Schema(middlewares=[AuthorizationMiddleware()])
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue
Block a user