mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 23:14:54 +00:00
Merge pull request #329 from SyncrowIOT/bugfix/SP-1362
added space community
This commit is contained in:
@ -553,7 +553,7 @@ export class SceneService {
|
|||||||
async findScene(sceneUuid: string): Promise<SceneEntity> {
|
async findScene(sceneUuid: string): Promise<SceneEntity> {
|
||||||
const scene = await this.sceneRepository.findOne({
|
const scene = await this.sceneRepository.findOne({
|
||||||
where: { uuid: sceneUuid },
|
where: { uuid: sceneUuid },
|
||||||
relations: ['sceneIcon', 'space'],
|
relations: ['sceneIcon', 'space', 'space.community'],
|
||||||
});
|
});
|
||||||
|
|
||||||
if (!scene) {
|
if (!scene) {
|
||||||
|
|||||||
Reference in New Issue
Block a user