Skip to content

Commit

Permalink
feat(case): update conversation on case auto close (#5412)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvilanova authored Oct 31, 2024
1 parent ed86216 commit 053723e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/dispatch/case/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ def case_auto_close_flow(case: Case, db_session: Session):
db_session=db_session,
)

if case.conversation and case.has_thread:
# we update the case conversation
update_conversation(case=case, db_session=db_session)


def case_new_create_flow(
*,
Expand Down

0 comments on commit 053723e

Please sign in to comment.