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