mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-25 11:37:55 +00:00
Merge pull request #141 from SyncrowIOT/feature/space-management
Feature/space management
This commit is contained in:
@@ -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`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user