Revise payload to send a string or integer instead of an object

This commit is contained in:
Marliana Lara 2017-07-07 09:03:02 -04:00
parent ed3e03644b
commit dcbc34bb9d

View File

@ -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){