From b2f1905e43cd7bc5a18330387b407de19fa09437 Mon Sep 17 00:00:00 2001 From: Connor Rhodes Date: Wed, 13 May 2026 17:42:06 +0000 Subject: [PATCH] update for mongo tls --- log-work-expense/scripts/log_expense.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/log-work-expense/scripts/log_expense.py b/log-work-expense/scripts/log_expense.py index 4b6ac80..d0d5a3c 100644 --- a/log-work-expense/scripts/log_expense.py +++ b/log-work-expense/scripts/log_expense.py @@ -42,7 +42,7 @@ def main(): print(f"Error: mileage entries must have exactly 2 files (start + end odometer), got {len(files)}") sys.exit(1) - client = MongoClient("mongodb://root:3wwfoUjyk2E2zWELXFlLuHqfw1ALlOp4pb2H5Vq3TImbMIHL2h1u8Jej2mjzCPl@docdb.connorrhodes.com:35563") + client = MongoClient("mongodb://root:3wwfoUjyk2E2zWELXFlLuHqfw1ALlOp4pb2H5Vq3TImbMIHL2h1u8Jej2mjzCPl@docdb.connorrhodes.com:35563?tls=true&tlsAllowInvalidCertificates=true") db = client["wip"] col = db["work_expenses"]