This commit is contained in:
Lemuel Marquez
2021-05-19 01:29:46 -05:00
parent cf4e6b04e3
commit 9af1e903f8
+1 -1
View File
@@ -17,7 +17,7 @@ const obtenerAlumno = (numeroCuenta) => {
.query(`CALL busca_alumno_pcpuma('${numeroCuenta}')`)
.then((rows) => {
conn.end();
return rows;
return rows[0];
})
.catch((err) => {
console.log(err);