SIENTIAPDE-1163

refactor: update database configuration key in NotificationHandler to 'database_name' for consistency with MongoDB config structure
This commit is contained in:
vitor-aignosi
2025-07-16 11:50:01 -03:00
parent 2fa3a74bcc
commit 225964f938

View File

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