mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-15 10:25:23 +00:00
Remove lazy loading for productDevice in DeviceEntity
This commit is contained in:
@ -48,7 +48,6 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
|
|||||||
|
|
||||||
@ManyToOne(() => ProductEntity, (product) => product.devicesProductEntity, {
|
@ManyToOne(() => ProductEntity, (product) => product.devicesProductEntity, {
|
||||||
nullable: false,
|
nullable: false,
|
||||||
lazy: true,
|
|
||||||
})
|
})
|
||||||
productDevice: ProductEntity;
|
productDevice: ProductEntity;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user