summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Petrello <rpetrell@redhat.com>2018-08-03 20:50:37 +0200
committerRyan Petrello <rpetrell@redhat.com>2018-08-03 20:50:37 +0200
commita3566b4270459664ee43977c04efe6aef63e3f14 (patch)
treea1c1b1be5c57ec59cfe6f557b2a40393e46494f9
parentMerge pull request #2733 from AlanCoding/policy_changes_test (diff)
downloadawx-a3566b4270459664ee43977c04efe6aef63e3f14.tar.xz
awx-a3566b4270459664ee43977c04efe6aef63e3f14.zip
fix up a minor OAuth2 token serializer nit
see: https://github.com/ansible/tower/issues/2751
-rw-r--r--awx/api/serializers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awx/api/serializers.py b/awx/api/serializers.py
index cf5f020510..d0ab6610db 100644
--- a/awx/api/serializers.py
+++ b/awx/api/serializers.py
@@ -78,7 +78,7 @@ DEFAULT_SUMMARY_FIELDS = ('id', 'name', 'description')# , 'created_by', 'modifie
SUMMARIZABLE_FK_FIELDS = {
'organization': DEFAULT_SUMMARY_FIELDS,
'user': ('id', 'username', 'first_name', 'last_name'),
- 'application': ('id', 'name', 'client_id'),
+ 'application': ('id', 'name'),
'team': DEFAULT_SUMMARY_FIELDS,
'inventory': DEFAULT_SUMMARY_FIELDS + ('has_active_failures',
'total_hosts',