update librerias

This commit is contained in:
2022-08-23 17:12:09 -05:00
parent 7f7dfbe9c1
commit 2a031a7658
25 changed files with 2775 additions and 3297 deletions
@@ -43,7 +43,7 @@ export class CarreraProgramaService {
'Esta carrera no pertenece a tu institución.',
);
return this.repository
.findOne({ institucionCarrera, programa })
.findOne({ where: { institucionCarrera, programa } })
.then((existeCarretaPrograma) => {
if (existeCarretaPrograma)
throw new ConflictException(
@@ -80,7 +80,7 @@ export class CarreraProgramaService {
findById(id_carrera_programa: number) {
return this.repository
.findOne({ id_carrera_programa })
.findOne({ where: { id_carrera_programa } })
.then((carreraPrograma) => {
if (!carreraPrograma)
throw new NotFoundException('No existe este id carrera programa.');