modulo tipo usuario final
This commit is contained in:
@@ -69,7 +69,7 @@ export class ModuloService {
|
||||
|
||||
findById(id_modulo: number) {
|
||||
return this.repository.findOne({ id_modulo }).then((modulo) => {
|
||||
if (!modulo) throw new NotFoundException('No existe este módulo.');
|
||||
if (!modulo) throw new NotFoundException('No existe este id módulo.');
|
||||
return modulo;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user