From 99d55c0b365e25357f5c5819c12dd7231103b46e Mon Sep 17 00:00:00 2001 From: Israel Figueroa Date: Tue, 30 Jul 2024 15:48:14 -0400 Subject: [PATCH] xx --- project/api/views/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()