fix: quitar creado_at (columna no existe en turnero_consentimientos)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-03 10:28:43 -05:00
co-authored by Claude Sonnet 4.6
parent ad0eefe31f
commit f18104dd5d
2 changed files with 23 additions and 19 deletions
+2 -2
View File
@@ -129,8 +129,8 @@ try {
);
$pdo->prepare(
"INSERT IGNORE INTO turnero_consentimientos
(turno_id, formulario_id, token, estado, creado_at)
VALUES (?, ?, ?, 'pendiente', NOW())"
(turno_id, formulario_id, token, estado)
VALUES (?, ?, ?, 'pendiente')"
)->execute([$turnoId, (int)$formRow['formulario_id'], $conToken]);
$baseUrl = defined('BASE_URL') ? rtrim(BASE_URL, '/') : '';