fixed typo in 500 response

This commit is contained in:
Marc LaBelle 2020-04-02 10:07:23 -04:00
parent 8f97cbc617
commit 8b284f8adf

View File

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