mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
Job submission
changed the 'credential' to 'credential_id' on the POST to the job launch endpoint, per request from Matt
This commit is contained in:
parent
e1f25a0949
commit
86c717bca3
@ -84,7 +84,7 @@ angular.module('CreateCustomInventoryHelper', [ 'Utilities', 'RestServices', 'Sc
|
||||
|
||||
CreateDialog({
|
||||
id: 'custom-script-dialog',
|
||||
title: 'Inventory Scripts',
|
||||
title: 'Inventory Script',
|
||||
target: 'custom-script-dialog',
|
||||
scope: scope,
|
||||
buttons: buttons,
|
||||
|
||||
@ -45,7 +45,7 @@ angular.module('JobSubmissionHelper', [ 'RestServices', 'Utilities', 'Credential
|
||||
}
|
||||
delete(job_launch_data.extra_vars);
|
||||
if(!Empty(scope.credential)){
|
||||
job_launch_data.credential = scope.credential;
|
||||
job_launch_data.credential_id = scope.credential;
|
||||
}
|
||||
Rest.setUrl(url);
|
||||
Rest.post(job_launch_data)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user