mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-24 22:47:55 +00:00
get devices
This commit is contained in:
@@ -42,7 +42,7 @@ export class DeviceEntity extends AbstractEntity<DeviceDto> {
|
||||
)
|
||||
deviceUserNotification: DeviceNotificationEntity[];
|
||||
|
||||
@ManyToOne(() => SpaceEntity, (space) => space.devicesSpaceEntity, {
|
||||
@ManyToOne(() => SpaceEntity, (space) => space.devices, {
|
||||
nullable: true,
|
||||
})
|
||||
spaceDevice: SpaceEntity;
|
||||
|
||||
Reference in New Issue
Block a user