Merge pull request #2755 from ryanpetrello/fix-2751

fix up a minor OAuth2 token serializer nit
This commit is contained in:
Ryan Petrello
2018-08-03 15:01:28 -04:00
committed by GitHub

View File

@@ -78,7 +78,7 @@ DEFAULT_SUMMARY_FIELDS = ('id', 'name', 'description')# , 'created_by', 'modifie
SUMMARIZABLE_FK_FIELDS = { SUMMARIZABLE_FK_FIELDS = {
'organization': DEFAULT_SUMMARY_FIELDS, 'organization': DEFAULT_SUMMARY_FIELDS,
'user': ('id', 'username', 'first_name', 'last_name'), 'user': ('id', 'username', 'first_name', 'last_name'),
'application': ('id', 'name', 'client_id'), 'application': ('id', 'name'),
'team': DEFAULT_SUMMARY_FIELDS, 'team': DEFAULT_SUMMARY_FIELDS,
'inventory': DEFAULT_SUMMARY_FIELDS + ('has_active_failures', 'inventory': DEFAULT_SUMMARY_FIELDS + ('has_active_failures',
'total_hosts', 'total_hosts',