hora excepcion service final
This commit is contained in:
@@ -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 }),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user