fix: correct missed envar for api_keys

This commit is contained in:
Alex Kelly 2021-11-04 13:58:12 -04:00
parent a3638fdc75
commit d964f75c84

View file

@ -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}
),
)