Merge pull request #141 from SyncrowIOT/feature/space-management

Feature/space management
This commit is contained in:
faris Aljohari
2024-11-06 18:28:05 -06:00
committed by GitHub
2 changed files with 33 additions and 18 deletions
+3
View File
@@ -457,6 +457,9 @@ export class SceneService {
const space = await this.getSpaceByUuid(scene.spaceUuid);
await this.delete(scene.sceneTuyaUuid, space.spaceTuyaUuid);
await this.sceneRepository.remove(scene);
return new SuccessResponseDto({
message: `Scene with ID ${sceneUuid} deleted successfully`,
});