Skip to content

Commit

Permalink
Merge pull request ansible#3647 from ryanpetrello/cred-namespace-api
Browse files Browse the repository at this point in the history
expose CredentialType.namespace in the API

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
  • Loading branch information
2 parents 67aeecd + aa01796 commit ce65fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion awx/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -2494,7 +2494,7 @@ class CredentialTypeSerializer(BaseSerializer):

class Meta:
model = CredentialType
fields = ('*', 'kind', 'name', 'managed_by_tower', 'inputs',
fields = ('*', 'kind', 'namespace', 'name', 'managed_by_tower', 'inputs',
'injectors')

def validate(self, attrs):
Expand Down

0 comments on commit ce65fdd

Please sign in to comment.