工作流bug
This commit is contained in:
parent
3a1b6483f0
commit
c595711ebb
|
@ -441,6 +441,7 @@ class TicketViewSet(CreateUpdateCustomMixin, CreateModelMixin, ListModelMixin, R
|
|||
ticket = self.get_object()
|
||||
if not ticket.script_run_last_result:
|
||||
ticket.script_run_last_result = True
|
||||
ticket.save()
|
||||
run_task.delay(ticket.id)
|
||||
return Response()
|
||||
|
||||
|
|
Loading…
Reference in New Issue