opcion b
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user