mirror of
https://github.com/ansible/awx.git
synced 2026-03-08 21:19:26 -02:30
Change returned job start id to system_job in the system job template
launch return data
This commit is contained in:
@@ -1743,7 +1743,7 @@ class SystemJobTemplateLaunch(GenericAPIView):
|
||||
raise PermissionDenied()
|
||||
new_job = obj.create_unified_job()
|
||||
result = new_job.signal_start()
|
||||
data = dict(job=new_job.id)
|
||||
data = dict(system_job=new_job.id)
|
||||
return Response(data, status=status.HTTP_202_ACCEPTED)
|
||||
|
||||
class SystemJobTemplateSchedulesList(SubListCreateAPIView):
|
||||
|
||||
Reference in New Issue
Block a user