This commit is contained in:
starnakin 2023-11-13 13:31:56 +01:00
parent 9aa724e19e
commit 36d97eb58c

View File

@ -14,7 +14,6 @@ class LoginView(APIView):
def post(self, request: HttpRequest): def post(self, request: HttpRequest):
data = request.data data = request.data
print(data)
serializer = LoginSerializer(data=data) serializer = LoginSerializer(data=data)
serializer.is_valid(raise_exception=True) serializer.is_valid(raise_exception=True)
user = serializer.get_user(data) user = serializer.get_user(data)