mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Capitalize license type return in /api/v1/config/.
This commit is contained in:
parent
f5973c81e2
commit
a46837608a
@ -178,6 +178,7 @@ class ApiV1ConfigView(APIView):
|
||||
|
||||
license_reader = TaskSerializer()
|
||||
license_data = license_reader.from_file(show_key=request.user.is_superuser)
|
||||
license_data['license_type'] = license_data.get('license_type', 'legacy').title()
|
||||
|
||||
data = dict(
|
||||
time_zone=settings.TIME_ZONE,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user