SIENTIAPDE-1163
refactor: update database configuration key in NotificationHandler to 'database_name' for consistency with MongoDB config structure
This commit is contained in:
@@ -29,7 +29,7 @@ async def main():
|
|||||||
mongo_config = build_mongodb_config()
|
mongo_config = build_mongodb_config()
|
||||||
notification_handler = NotificationHandler(
|
notification_handler = NotificationHandler(
|
||||||
connection_string=mongo_config['connection_string'],
|
connection_string=mongo_config['connection_string'],
|
||||||
database=mongo_config['database'],
|
database=mongo_config['database_name'],
|
||||||
logger=logger,
|
logger=logger,
|
||||||
project_name=os.getenv('PROJECT_NAME', 'orchestrator'),
|
project_name=os.getenv('PROJECT_NAME', 'orchestrator'),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user