From 9212c9697895c3570fa0d656a4b263d4571c622d Mon Sep 17 00:00:00 2001 From: NatSquared Date: Thu, 22 Aug 2024 18:08:43 -0700 Subject: [PATCH] DESENG-676: Lint error - remove unused argument --- met-api/src/met_api/services/engagement_service.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/met-api/src/met_api/services/engagement_service.py b/met-api/src/met_api/services/engagement_service.py index e21efb0c8..ce2c52445 100644 --- a/met-api/src/met_api/services/engagement_service.py +++ b/met-api/src/met_api/services/engagement_service.py @@ -158,7 +158,7 @@ def create_engagement(request_json: dict): eng_model = EngagementService._create_engagement_model(request_json) eng_content = EngagementService.create_default_engagement_content(eng_model.id) - EngagementService.create_default_content(eng_model.id, eng_content['id'], request_json) + EngagementService.create_default_content(eng_model.id, request_json) if request_json.get('status_block'): EngagementService._create_eng_status_block(eng_model.id, request_json) @@ -212,7 +212,7 @@ def create_default_engagement_content(eng_id): return eng_content @staticmethod - def create_default_content(eng_id: int, eng_content_id: int, content_data: dict): + def create_default_content(eng_id: int, content_data: dict): """Create default summary content for the engagement.""" default_summary_content = { 'title': 'Summary',