fix: correct missed envar for api_keys
This commit is contained in:
		
					parent
					
						
							
								a3638fdc75
							
						
					
				
			
			
				commit
				
					
						d964f75c84
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -49,7 +49,7 @@ parser.add_argument(
 | 
			
		|||
    help="comma separated list of shared secrets to use this service. Required. Environment variable: `API_KEYS`",
 | 
			
		||||
    **(
 | 
			
		||||
        {"default": os.environ["API_KEYS"]}
 | 
			
		||||
        if "API_KEY" in os.environ
 | 
			
		||||
        if "API_KEYS" in os.environ
 | 
			
		||||
        else {"required": True}
 | 
			
		||||
    ),
 | 
			
		||||
)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue