mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 18:51:06 -03:30
Expose Organization.max_hosts in the API
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user