mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 09:51:09 +03:00
fix bug from new credential property
This commit is contained in:
parent
16732e52f2
commit
50794452c8
@ -3201,7 +3201,7 @@ class JobSerializer(UnifiedJobSerializer, JobOptionsSerializer):
|
||||
data.setdefault('project', job_template.project.pk)
|
||||
data.setdefault('playbook', job_template.playbook)
|
||||
if job_template.credential:
|
||||
data.setdefault('credential', job_template.credential.pk)
|
||||
data.setdefault('credential', job_template.credential)
|
||||
data.setdefault('forks', job_template.forks)
|
||||
data.setdefault('limit', job_template.limit)
|
||||
data.setdefault('verbosity', job_template.verbosity)
|
||||
|
Loading…
Reference in New Issue
Block a user