From 202b511f558142ff4614e8f305759ad246477684 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Thu, 30 Oct 2014 10:51:22 -0400 Subject: [PATCH] Change returned job start id to system_job in the system job template launch return data --- awx/api/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/views.py b/awx/api/views.py index 36e8ba4b24..896260c75b 100644 --- a/awx/api/views.py +++ b/awx/api/views.py @@ -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):