mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 19:54:54 +00:00
added sceneIcon
This commit is contained in:
@ -174,6 +174,7 @@ export class SceneService {
|
||||
spaceUuid,
|
||||
...(showInHomePage ? { showInHomePage } : {}),
|
||||
},
|
||||
relations: ['sceneIcon'],
|
||||
});
|
||||
|
||||
if (!scenesData.length) {
|
||||
@ -469,6 +470,8 @@ export class SceneService {
|
||||
relations: ['sceneIcon'],
|
||||
});
|
||||
|
||||
console.log(scene);
|
||||
|
||||
if (!scene) {
|
||||
throw new HttpException(
|
||||
`Invalid scene with id ${sceneUuid}`,
|
||||
|
||||
Reference in New Issue
Block a user