institucion tipo entrada service final

This commit is contained in:
2022-12-22 10:46:41 -06:00
parent 5b8e1ce628
commit d1c7b25762
5 changed files with 58 additions and 56 deletions
@@ -31,7 +31,7 @@ export class InstitucionProgramaService {
.then((existePrograma) => {
// Sacamos error si existe
if (existePrograma)
throw new ConflictException('Ya existe este programa.');
throw new ConflictException('Ya existe este software.');
// Creamos y guardamos un registro
return this.programaRepository.save(
this.programaRepository.create({ programa }),
@@ -48,7 +48,7 @@ export class InstitucionProgramaService {
programa,
}),
);
return { message: 'Se creó correctamente un nuevo programa.' };
return { message: 'Se creó correctamente un nuevo software.' };
});
}