mirror of
https://github.com/ansible/awx.git
synced 2026-03-01 00:38:45 -03:30
Merge pull request #2484 from ryanpetrello/spaaaaaaaaaaaaaaaaaaaace
remove unnecessary spaces
This commit is contained in:
@@ -196,8 +196,8 @@ class APIView(views.APIView):
|
|||||||
request.drf_request_user = None
|
request.drf_request_user = None
|
||||||
self.__init_request_error__ = exc
|
self.__init_request_error__ = exc
|
||||||
except UnsupportedMediaType as exc:
|
except UnsupportedMediaType as exc:
|
||||||
exc.detail = _('You did not use correct content_type in your HTTP request. \
|
exc.detail = _('You did not use correct Content-Type in your HTTP request. '
|
||||||
If you are using our REST API, the content_type must be application/json')
|
'If you are using our REST API, the Content-Type must be application/json')
|
||||||
self.__init_request_error__ = exc
|
self.__init_request_error__ = exc
|
||||||
return drf_request
|
return drf_request
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user