mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
remove tags relation from device table
This commit is contained in:
@ -137,7 +137,7 @@ export class ValidationService {
|
||||
const devices = await this.deviceRepository.find({
|
||||
where: { spaceDevice: { uuid: spaceUuid } },
|
||||
select: ['uuid', 'deviceTuyaUuid', 'isActive', 'createdAt', 'updatedAt'],
|
||||
relations: ['productDevice', 'tag', 'subspace'],
|
||||
relations: ['productDevice', 'subspace'],
|
||||
});
|
||||
|
||||
space.devices = devices;
|
||||
|
Reference in New Issue
Block a user