segundo intento ñ
This commit is contained in:
@@ -34,7 +34,7 @@ const escolares = async (body) => {
|
||||
creditos: res.data.avance,
|
||||
carrera: res.data.carrconst.trim(),
|
||||
};
|
||||
if (alumno.nombre.search('Ã') != 0)
|
||||
if (alumno.nombre.search('Ã') >= -1)
|
||||
alumno.nombre = alumno.nombre.replace('Ã', 'Ñ');
|
||||
return Carrera.findOne({ where: { carrera: alumno.carrera } });
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user