From f802f5a330f6080cb6e905150b7e69189b5dd4e4 Mon Sep 17 00:00:00 2001 From: Avery Date: Wed, 18 Sep 2024 12:51:53 -0700 Subject: [PATCH] Fixes calls to get incident participants. (#5220) --- src/dispatch/plugins/dispatch_slack/incident/interactive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch/plugins/dispatch_slack/incident/interactive.py b/src/dispatch/plugins/dispatch_slack/incident/interactive.py index 4205d121e6f0..c14c4fd0a360 100644 --- a/src/dispatch/plugins/dispatch_slack/incident/interactive.py +++ b/src/dispatch/plugins/dispatch_slack/incident/interactive.py @@ -470,7 +470,7 @@ def handle_list_participants_command( participants = participant_service.get_all_by_incident_id( db_session=db_session, incident_id=context["subject"].id - ).all() + ) incident = incident_service.get(db_session=db_session, incident_id=context["subject"].id)