institucion tipo entrada service final
This commit is contained in:
@@ -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.' };
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user