This commit is contained in:
Lemuel Marquez
2021-05-19 02:02:36 -05:00
parent 16e97b7334
commit f27f497433
+1 -1
View File
@@ -17,7 +17,7 @@ const obtenerAlumno = async (numeroCuenta) => {
.query(`CALL busca_alumno_pcpuma('${numeroCuenta}')`)
.then((rows) => {
conn.end();
return { rows, length: rews.length };
return { rows, length: rows.length };
})
.catch((err) => {
conn.end();