1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +03:00

remove access_token from ActStr serializer

This commit is contained in:
AlanCoding 2018-03-28 15:38:58 -04:00
parent ae5d17d151
commit 33e2457721
No known key found for this signature in database
GPG Key ID: FD2C3C012A72926B

View File

@ -4689,7 +4689,6 @@ class ActivityStreamSerializer(BaseSerializer):
'api:setting_singleton_detail',
kwargs={'category_slug': obj.setting['category']}
)
rel['access_token'] = '*************'
return rel
def _get_rel(self, obj, fk):
@ -4743,7 +4742,6 @@ class ActivityStreamSerializer(BaseSerializer):
last_name = obj.actor.last_name)
if obj.setting:
summary_fields['setting'] = [obj.setting]
summary_fields['access_token'] = '*************'
return summary_fields