diff --git a/project/api/views/auth.py b/project/api/views/auth.py index ac5ac9b..1b2c316 100755 --- a/project/api/views/auth.py +++ b/project/api/views/auth.py @@ -112,7 +112,7 @@ def recuperar(request): def info_token(request): input = json.loads(request.body) token = input['token'] - logger.warning(input) + logging.warning(input) try: decoded = jwt.decode(token, SECRET_KEY, algorithms=["HS256"]) persona = models.Persona.objects.filter(rut=decoded['rut']).first()