agregar consulta

This commit is contained in:
2021-11-11 14:39:34 -06:00
parent c7672b4b2b
commit df32d49703
+1
View File
@@ -43,6 +43,7 @@ app.post("/ingresarAlumno", async (req, res) => {
while(passwordUser.charCodeAt(passwordUser.length-1) === 32){
passwordUser= passwordUser.substring(0, passwordUser.length - 1)
}
console.log(numeroCuenta, passwordEscolares, passwordUser)
if(passwordEscolares === passwordUser){
const informacionAlumnoEnviar = {
nombre: informacionAlumno.nombre,