mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-12-02 13:53:43 +03:00
fixed typo in 500 response
This commit is contained in:
parent
8f97cbc617
commit
8b284f8adf
|
@ -166,7 +166,7 @@ class LogoutView(APIView):
|
||||||
status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
response = Response({"detail": _("No attr error has occurred.")},
|
response = Response({"detail": _("An error has occurred.")},
|
||||||
status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
status=status.HTTP_500_INTERNAL_SERVER_ERROR)
|
||||||
|
|
||||||
return response
|
return response
|
||||||
|
|
Loading…
Reference in New Issue
Block a user