se cambiaron relaciones
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -153,7 +153,7 @@ export class EquipoService {
|
||||
id_tipo_de_equipo: equipo.tipoEquipo.id_tipo_de_equipo,
|
||||
},
|
||||
},
|
||||
relations: ['procesador', 'tipoEquipo'],
|
||||
relations: ['procesador_tipoequipo', 'tipoEquipo'],
|
||||
});
|
||||
|
||||
if (!procesador_tipoequipo) {
|
||||
@@ -281,7 +281,6 @@ export class EquipoService {
|
||||
} else {
|
||||
let procesador = await this.procesadorRepo.findOne({
|
||||
where: { id_procesador: equipo.id_procesador },
|
||||
relations: ['procesador', 'tipoEquipo'],
|
||||
});
|
||||
let tipo_equipo = await this.tipoEquipoRepo.findOne({
|
||||
where: { id_tipo_de_equipo: equipo.id_procesador },
|
||||
|
||||
Reference in New Issue
Block a user