get info alumno

This commit is contained in:
2020-11-19 11:47:23 -06:00
parent 099ee6361a
commit 9b748bc130
5 changed files with 86 additions and 7 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ const login = async (body) => {
if (!res) throw new Error('No existe este usuario.');
if (encriptar.comparar(password, res.password)) {
return {
alumno: {
Usuario: {
idUsuario: res.idUsuario,
usuario: res.usuario,
nombre: res.nombre,