Merge pull request #329 from SyncrowIOT/bugfix/SP-1362

added space community
This commit is contained in:
faljawhary
2025-04-07 09:24:47 +03:00
committed by GitHub

View File

@ -553,7 +553,7 @@ export class SceneService {
async findScene(sceneUuid: string): Promise<SceneEntity> {
const scene = await this.sceneRepository.findOne({
where: { uuid: sceneUuid },
relations: ['sceneIcon', 'space'],
relations: ['sceneIcon', 'space', 'space.community'],
});
if (!scene) {