Skip to content

Commit

Permalink
Add not check for update ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
wssheldon committed Oct 4, 2023
1 parent 10082ab commit da4beb4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dispatch/case/flows.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,9 @@ def case_new_create_flow(
team_participants=team_participants,
conversation_target=conversation_target,
)
# we still want to update the ticket, but not twice if resources are created
ticket_flows.update_case_ticket(case=case, db_session=db_session)
if not create_resources:
# we still want to update the ticket, but not twice if resources are created
ticket_flows.update_case_ticket(case=case, db_session=db_session)

if case.case_priority.page_assignee:
if not service_id:
Expand Down

0 comments on commit da4beb4

Please sign in to comment.