Merge branch 'pmodulos' of https://repositorio.acatlan.unam.mx/CIDWA/pcpuma_unam_api
This commit is contained in:
commit
3153dc0894
@ -96,7 +96,7 @@ export class UsuarioService {
|
||||
|
||||
return this.findByUsuario(usuario, false)
|
||||
.then(async (existeUsuario) => {
|
||||
if (!usuario)
|
||||
if (!existeUsuario)
|
||||
throw new ConflictException(
|
||||
'Los datos que se ingrasaron no son correctos.',
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user