diff --git a/src/dispatch/incident/service.py b/src/dispatch/incident/service.py index 49531feee4f0..5aa2a3f0049f 100644 --- a/src/dispatch/incident/service.py +++ b/src/dispatch/incident/service.py @@ -453,7 +453,7 @@ def generate_incident_summary(*, db_session: Session, incident: Incident) -> str return "Incident summary not generated. No AI plugin enabled." storage_plugin = plugin_service.get_active_instance( - db_session=db_session, plugin_type="storage", project_id=project.id + db_session=db_session, plugin_type="storage", project_id=incident.project.id ) if not storage_plugin: