diff --git a/backend/account/views.py b/backend/account/views.py index 2b3537b..77c067f 100644 --- a/backend/account/views.py +++ b/backend/account/views.py @@ -71,7 +71,7 @@ Code: {otp}""" return Response({'detail': 'user not found'}, status=status.HTTP_404_NOT_FOUND) except Exception as e: return Response({'detail': f'error: {e} مشتی فعلا برو تو غمت نباشه تا بعدا یه کاریش بکنم', 'otp_code': otp}, status=status.HTTP_500_INTERNAL_SERVER_ERROR) - return Response({'detail': f'An error occurred: {e}'}, status=status.HTTP_500_INTERNAL_SERVER_ERROR) + # return Response({'detail': f'An error occurred: {e}'}, status=status.HTTP_500_INTERNAL_SERVER_ERROR) class CustomTokenObtainPairView(TokenObtainPairView):