fixed the typo in subspace entity

This commit is contained in:
hannathkadher
2025-02-12 11:12:20 +04:00
parent 5129724a8a
commit 0fe456aaed

View File

@ -38,7 +38,7 @@ export class SubspaceEntity extends AbstractEntity<SubspaceDto> {
})
devices: DeviceEntity[];
@ManyToOne(() => SubspaceModelEntity, (subspace) => subspace.subspaceModel, {
@ManyToOne(() => SubspaceModelEntity, (model) => model.subspace, {
nullable: true,
})
subSpaceModel?: SubspaceModelEntity;