This commit is contained in:
@@ -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)
|
||||||
Reference in New Issue
Block a user