Skip to content

Commit

Permalink
bug fix: the secend status use external participant miss ticket data …
Browse files Browse the repository at this point in the history
…when trigger hook request
  • Loading branch information
blackholll committed Feb 4, 2023
1 parent acdc35f commit 07e4477
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion service/ticket/ticket_base_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2073,7 +2073,10 @@ def get_ticket_state_participant_info(cls, state_id: int, ticket_id: int=0, tick
flag, msg = common_service_ins.gen_hook_signature(external_token)
if not flag:
return False, msg
flag, all_ticket_data = ticket_base_service_ins.get_ticket_all_field_value(ticket_id)
if not ticket_id:
all_ticket_data = ticket_req_dict
else:
flag, all_ticket_data = ticket_base_service_ins.get_ticket_all_field_value(ticket_id)
if extra_info is not None:
all_ticket_data.update(dict(extra_info=extra_info))
try:
Expand Down

0 comments on commit 07e4477

Please sign in to comment.