mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Expose Organization.max_hosts in the API
This commit is contained in:
parent
c3406748de
commit
e44c73883e
@ -1229,7 +1229,7 @@ class OrganizationSerializer(BaseSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Organization
|
||||
fields = ('*', 'custom_virtualenv',)
|
||||
fields = ('*', 'max_hosts', 'custom_virtualenv',)
|
||||
|
||||
def get_related(self, obj):
|
||||
res = super(OrganizationSerializer, self).get_related(obj)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user