mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-11-04 01:47:45 +03:00 
			
		
		
		
	Fixed #211
This commit is contained in:
		
							parent
							
								
									08ccf2228c
								
							
						
					
					
						commit
						5bad9046f0
					
				| 
						 | 
				
			
			@ -37,7 +37,7 @@ class AuthorizationMiddleware(object):
 | 
			
		|||
```
 | 
			
		||||
 | 
			
		||||
Then, add the middleware to your schema:
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
```python
 | 
			
		||||
schema = Schema(middlewares=[AuthorizationMiddleware()])
 | 
			
		||||
```
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user