From dcbc34bb9d8c54c472396789096a08a9f6c39ad9 Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Fri, 7 Jul 2017 09:03:02 -0400 Subject: [PATCH] Revise payload to send a string or integer instead of an object --- .../job-submission-factories/launchjob.factory.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/ui/client/src/job-submission/job-submission-factories/launchjob.factory.js b/awx/ui/client/src/job-submission/job-submission-factories/launchjob.factory.js index 8fee9bd228..5e6ff47483 100644 --- a/awx/ui/client/src/job-submission/job-submission-factories/launchjob.factory.js +++ b/awx/ui/client/src/job-submission/job-submission-factories/launchjob.factory.js @@ -71,11 +71,11 @@ export default } 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) { - job_launch_data.verbosity = scope.other_prompt_data.verbosity; + job_launch_data.verbosity = scope.other_prompt_data.verbosity.value; } if(scope.survey_enabled===true){