mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 04:47:44 -02:30
Revise payload to send a string or integer instead of an object
This commit is contained in:
@@ -71,11 +71,11 @@ export default
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(scope.ask_job_type_on_launch && scope.other_prompt_data && scope.other_prompt_data.job_type) {
|
if(scope.ask_job_type_on_launch && scope.other_prompt_data && scope.other_prompt_data.job_type) {
|
||||||
job_launch_data.job_type = scope.other_prompt_data.job_type;
|
job_launch_data.job_type = scope.other_prompt_data.job_type.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scope.ask_verbosity_on_launch && scope.other_prompt_data && scope.other_prompt_data.verbosity) {
|
if(scope.ask_verbosity_on_launch && scope.other_prompt_data && scope.other_prompt_data.verbosity) {
|
||||||
job_launch_data.verbosity = scope.other_prompt_data.verbosity;
|
job_launch_data.verbosity = scope.other_prompt_data.verbosity.value;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(scope.survey_enabled===true){
|
if(scope.survey_enabled===true){
|
||||||
|
|||||||
Reference in New Issue
Block a user