Skip to content

Commit

Permalink
DESENG-676: Lint error - remove unused argument
Browse files Browse the repository at this point in the history
  • Loading branch information
NatSquared committed Aug 23, 2024
1 parent 2b85f7e commit 9212c96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions met-api/src/met_api/services/engagement_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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',
Expand Down

0 comments on commit 9212c96

Please sign in to comment.