Merge pull request #262 from SyncrowIOT/dev

change subspace tag movement
This commit is contained in:
hannathkadher
2025-02-19 13:11:46 +04:00
committed by GitHub

View File

@ -84,7 +84,7 @@ export class SubspaceDeviceService {
if (device.tag?.subspace?.uuid !== subspace.uuid) { if (device.tag?.subspace?.uuid !== subspace.uuid) {
await this.tagRepository.update( await this.tagRepository.update(
{ uuid: device.tag.uuid }, { uuid: device.tag.uuid },
{ subspace }, { subspace, space: null },
); );
} }