From 466aa891c35590af3acd96b9030637eee8ca95a5 Mon Sep 17 00:00:00 2001 From: beseira13 Date: Mon, 9 Feb 2026 15:48:49 -0300 Subject: [PATCH] Cambios para apuntar a productivo --- src/controladores/autentificacion/Autentificacion.controller.js | 2 +- src/db.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controladores/autentificacion/Autentificacion.controller.js b/src/controladores/autentificacion/Autentificacion.controller.js index ab005e6..be4cd68 100644 --- a/src/controladores/autentificacion/Autentificacion.controller.js +++ b/src/controladores/autentificacion/Autentificacion.controller.js @@ -32,7 +32,7 @@ async function autentificacion(req, res) { // Consulta a la nueva tabla soporte_copy en dbasistente const [db_user] = await dbasistente.query( - "SELECT CODIGO_SOP, NOMBRE_SOP, USUARIO_SOP, NIVEL_SOP FROM soporte_copy WHERE USUARIO_SOP = ? AND CLAVE_SOP = ? AND ESTADO_SOP = 'V'", + "SELECT CODIGO_SOP, NOMBRE_SOP, USUARIO_SOP, NIVEL_SOP FROM soporte_copy WHERE CORREO_SOP = ? AND CLAVE_SOP = ? AND ESTADO_SOP = 'V'", { replacements: [username, password] } diff --git a/src/db.js b/src/db.js index 9e681ea..2cf4311 100644 --- a/src/db.js +++ b/src/db.js @@ -4,7 +4,7 @@ import dotenv from 'dotenv'; const solicitud = { data: [ { dbmane: 'aplicaciones' }, - { dbmane: 'asistente_qa' } + { dbmane: 'sial_help' } ] }; let configPromise = null;