From 1c4bd93105ff782bb3229dcdf562363c0eff8b72 Mon Sep 17 00:00:00 2001 From: ronalds Date: Tue, 25 Nov 2025 23:27:59 -0300 Subject: [PATCH] elimine los logs algunso logs de debug --- backend/app/main.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/backend/app/main.py b/backend/app/main.py index 65c14a5..16b9ff8 100644 --- a/backend/app/main.py +++ b/backend/app/main.py @@ -1090,14 +1090,6 @@ def create_answer( db.commit() db.refresh(existing_answer) - # Enviar notificación si la pregunta lo requiere Y hay un valor real - print(f"\n=== DEBUG NOTIFICACIÓN (UPDATE) ===") - print(f"Pregunta ID: {question.id}") - print(f"Texto: {question.text}") - print(f"send_notification: {question.send_notification}") - print(f"answer_value: '{answer.answer_value}'") - print(f"Tiene valor: {bool(answer.answer_value)}") - print(f"===================================\n") # Solo enviar si tiene valor real (no vacío ni None) if question.send_notification and answer.answer_value: