Skip to content

Commit 7220394

Browse files
authored
Checks if the incident tactical group exists before adding it to the case storage (#3707)
1 parent 3d07c4e commit 7220394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dispatch/case/flows.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ def case_to_incident_escalate_flow(
593593
case_id=case.id,
594594
)
595595

596-
if case.storage:
596+
if case.storage and incident.tactical_group:
597597
# we add the incident's tactical group to the case's storage folder
598598
# to allow incident participants to access the case's artifacts in the folder
599599
storage_members = [incident.tactical_group.email]

0 commit comments

Comments
 (0)