From 5e5d0747b4fd86c9565dedf647ec346c990b39d8 Mon Sep 17 00:00:00 2001 From: Nick Jackson Date: Thu, 19 Dec 2024 14:28:55 +0000 Subject: [PATCH] Set default USE_HTTPS behaviour for Marklogic back to False --- ds-caselaw-ingester/lambda_function.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ds-caselaw-ingester/lambda_function.py b/ds-caselaw-ingester/lambda_function.py index 7367ae6..84bd0cc 100644 --- a/ds-caselaw-ingester/lambda_function.py +++ b/ds-caselaw-ingester/lambda_function.py @@ -34,7 +34,7 @@ MARKLOGIC_HOST: str = os.environ["MARKLOGIC_HOST"] MARKLOGIC_USER: str = os.environ["MARKLOGIC_USER"] MARKLOGIC_PASSWORD: str = os.environ["MARKLOGIC_PASSWORD"] -MARKLOGIC_USE_HTTPS: bool = bool(os.environ["MARKLOGIC_USE_HTTPS"]) +MARKLOGIC_USE_HTTPS: bool = bool(os.getenv("MARKLOGIC_USE_HTTPS", default=False)) AWS_BUCKET_NAME: str = os.environ["AWS_BUCKET_NAME"]