Capitalize license type return in /api/v1/config/.

This commit is contained in:
Chris Church 2015-06-01 12:27:32 -04:00
parent f5973c81e2
commit a46837608a

View File

@ -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,