Merge pull request #189 from SyncrowIOT/bugfix/community-fetch

fix bug in community
This commit is contained in:
hannathkadher
2024-12-31 12:26:59 +04:00
committed by GitHub

View File

@ -62,10 +62,11 @@ export class SpaceService {
await queryRunner.connect();
await queryRunner.startTransaction();
const community = await this.validationService.validateCommunityAndProject(
communityUuid,
projectUuid,
);
const { community } =
await this.validationService.validateCommunityAndProject(
communityUuid,
projectUuid,
);
this.validateSpaceCreation(addSpaceDto, spaceModelUuid);