工作流bug

This commit is contained in:
曹前明 2022-07-15 10:41:02 +08:00
parent 3a1b6483f0
commit c595711ebb
1 changed files with 1 additions and 0 deletions

View File

@ -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()