Merge branch 'dev'

This commit is contained in:
faris Aljohari
2025-03-11 20:27:22 +03:00

View File

@ -166,13 +166,7 @@ export class SubspaceDeviceService {
private async findDevice(deviceUuid: string) { private async findDevice(deviceUuid: string) {
const device = await this.deviceRepository.findOne({ const device = await this.deviceRepository.findOne({
where: { uuid: deviceUuid }, where: { uuid: deviceUuid },
relations: [ relations: ['subspace', 'tag', 'spaceDevice'],
'subspace',
'tag',
'tag.space',
'tag.subspace',
'spaceDevice',
],
}); });
if (!device) { if (!device) {
this.throwNotFound('Device', deviceUuid); this.throwNotFound('Device', deviceUuid);