modulo tipo usuario final

This commit is contained in:
xXpuma99Xx
2022-06-26 12:47:00 -05:00
parent adaa59a32f
commit f13036723b
6 changed files with 52 additions and 8 deletions
+1 -1
View File
@@ -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;
});
}