From 225964f938c36c9e08c1a00c8cdd3614218f3bd6 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Wed, 16 Jul 2025 11:50:01 -0300 Subject: [PATCH] SIENTIAPDE-1163 refactor: update database configuration key in NotificationHandler to 'database_name' for consistency with MongoDB config structure --- orchestrator/worker/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orchestrator/worker/worker.py b/orchestrator/worker/worker.py index 908de5a..c8f752e 100644 --- a/orchestrator/worker/worker.py +++ b/orchestrator/worker/worker.py @@ -29,7 +29,7 @@ async def main(): mongo_config = build_mongodb_config() notification_handler = NotificationHandler( connection_string=mongo_config['connection_string'], - database=mongo_config['database'], + database=mongo_config['database_name'], logger=logger, project_name=os.getenv('PROJECT_NAME', 'orchestrator'), )