From d964f75c8445051146ee01348872e5a9f088cb3a Mon Sep 17 00:00:00 2001 From: Alex Kelly Date: Thu, 4 Nov 2021 13:58:12 -0400 Subject: [PATCH] fix: correct missed envar for api_keys --- matrix_webhook/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_webhook/conf.py b/matrix_webhook/conf.py index 6889d96..af7270d 100644 --- a/matrix_webhook/conf.py +++ b/matrix_webhook/conf.py @@ -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} ), )