hora excepcion service final

This commit is contained in:
2022-12-20 17:46:03 -06:00
parent f6d51a6eab
commit 192ee92a02
16 changed files with 47 additions and 36 deletions
@@ -28,7 +28,7 @@ export class InstitucionProgramaService {
// Saco error si existe
if (existePrograma)
throw new ConflictException('Ya existe este programa.');
// Creamos y guardamos el registro
// Creamos y guardamos un registro
return this.programaRepository.save(
this.programaRepository.create({ programa }),
);