Skip to content

Commit

Permalink
Adds missing project id (#3178)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgliss authored Mar 28, 2023
1 parent e1defe2 commit e862cf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/dispatch/case/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,9 @@ def case_update_flow(

if case.status in [CaseStatus.escalated, CaseStatus.closed]:
# we update the document
document_flows.update_document(document=case.case_document, db_session=db_session)
document_flows.update_document(
document=case.case_document, project_id=case.project.id, db_session=db_session
)

# we update the tactical group if we have a new assignee
if previous_case.assignee.individual.email != assignee_email:
Expand Down

0 comments on commit e862cf0

Please sign in to comment.