mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-10 15:17:41 +00:00
Merge branch 'dev'
This commit is contained in:
@ -166,13 +166,7 @@ export class SubspaceDeviceService {
|
||||
private async findDevice(deviceUuid: string) {
|
||||
const device = await this.deviceRepository.findOne({
|
||||
where: { uuid: deviceUuid },
|
||||
relations: [
|
||||
'subspace',
|
||||
'tag',
|
||||
'tag.space',
|
||||
'tag.subspace',
|
||||
'spaceDevice',
|
||||
],
|
||||
relations: ['subspace', 'tag', 'spaceDevice'],
|
||||
});
|
||||
if (!device) {
|
||||
this.throwNotFound('Device', deviceUuid);
|
||||
|
Reference in New Issue
Block a user