Merge pull request #261 from SyncrowIOT/bugfix/set-space-null-for-tag

on moving a tag from subspace, or subspace to subspace, set space is null
This commit is contained in:
hannathkadher
2025-02-19 13:08:23 +04:00
committed by GitHub

View File

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