add Response
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
Jakub K 2024-02-01 23:12:32 +01:00
parent aed34bcf54
commit 78ae14169a

View File

@ -121,4 +121,5 @@ class GetAuthTokenView(APIView):
print(response.json())
return Response(response.json())
except:
print("ERROR")
print("ERROR")
return Response({"error": "error"}, status=status.HTTP_400_BAD_REQUEST)