This commit is contained in:
parent
aed34bcf54
commit
78ae14169a
@ -122,3 +122,4 @@ class GetAuthTokenView(APIView):
|
|||||||
return Response(response.json())
|
return Response(response.json())
|
||||||
except:
|
except:
|
||||||
print("ERROR")
|
print("ERROR")
|
||||||
|
return Response({"error": "error"}, status=status.HTTP_400_BAD_REQUEST)
|
||||||
Loading…
x
Reference in New Issue
Block a user