mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Enabling export of applications through awxkit (#11887)
This commit is contained in:
@@ -1263,6 +1263,12 @@ class OAuth2ApplicationSerializer(BaseSerializer):
|
||||
activity_stream=self.reverse('api:o_auth2_application_activity_stream_list', kwargs={'pk': obj.pk}),
|
||||
)
|
||||
)
|
||||
if obj.organization_id:
|
||||
res.update(
|
||||
dict(
|
||||
organization=self.reverse('api:organization_detail', kwargs={'pk': obj.organization_id}),
|
||||
)
|
||||
)
|
||||
return res
|
||||
|
||||
def get_modified(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user