mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Make the credential requirement information more consistent
This commit is contained in:
parent
2925498c4e
commit
db6a068c4a
@ -1466,7 +1466,7 @@ class JobTemplateLaunch(GenericAPIView):
|
||||
data['passwords_needed_to_start'] = obj.passwords_needed_to_start
|
||||
data['ask_variables_on_launch'] = obj.ask_variables_on_launch
|
||||
data['variables_needed_to_start'] = obj.variables_needed_to_start
|
||||
data['credential_required'] = obj.credential is None
|
||||
data['credential_needed_to_start'] = obj.credential is None
|
||||
data['survey_enabled'] = obj.survey_enabled
|
||||
return Response(data)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user