nueva base profesores

This commit is contained in:
2022-02-11 14:54:47 -06:00
parent 4e60b25996
commit 7a79f3109a
+1 -1
View File
@@ -39,7 +39,7 @@ const obtenerProfesor = async (numeroCuenta) => {
});
return conn
.query(`SELECT * FROM Profesor WHERE NumTrabajador = ${numeroCuenta}`)
.query(`SELECT * FROM dat_profesor WHERE NumTrabajador = ${numeroCuenta}`)
.then((rows) => {
conn.end();
if (rows.length === 0) return null;