This commit is contained in:
Syrus Akbary 2016-06-23 21:53:08 -07:00 committed by GitHub
parent 3aa35460d5
commit 08ccf2228c

View File

@ -39,5 +39,5 @@ class AuthorizationMiddleware(object):
Then, add the middleware to your schema:
```python
schema = Schema(middlewares=[AuthorizationMiddleware])
schema = Schema(middlewares=[AuthorizationMiddleware()])
```