Skip to content

Commit

Permalink
Checks if the incident tactical group exists before adding it to the …
Browse files Browse the repository at this point in the history
…case storage (#3707)
  • Loading branch information
mvilanova authored Aug 18, 2023
1 parent 3d07c4e commit 7220394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dispatch/case/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ def case_to_incident_escalate_flow(
case_id=case.id,
)

if case.storage:
if case.storage and incident.tactical_group:
# we add the incident's tactical group to the case's storage folder
# to allow incident participants to access the case's artifacts in the folder
storage_members = [incident.tactical_group.email]
Expand Down

0 comments on commit 7220394

Please sign in to comment.