mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 08:54:54 +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({
|
const devices = await this.deviceRepository.find({
|
||||||
where: { spaceDevice: { uuid: spaceUuid } },
|
where: { spaceDevice: { uuid: spaceUuid } },
|
||||||
select: ['uuid', 'deviceTuyaUuid', 'isActive', 'createdAt', 'updatedAt'],
|
select: ['uuid', 'deviceTuyaUuid', 'isActive', 'createdAt', 'updatedAt'],
|
||||||
relations: ['productDevice', 'tag', 'subspace'],
|
relations: ['productDevice', 'subspace'],
|
||||||
});
|
});
|
||||||
|
|
||||||
space.devices = devices;
|
space.devices = devices;
|
||||||
|
|||||||
Reference in New Issue
Block a user