mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Change returned job start id to system_job in the system job template
launch return data
This commit is contained in:
parent
7699faae28
commit
202b511f55
@ -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):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user