fix bug in community

This commit is contained in:
hannathkadher
2024-12-31 12:23:02 +04:00
parent 105b05bbb0
commit 0542d13279

View File

@ -62,7 +62,8 @@ export class SpaceService {
await queryRunner.connect(); await queryRunner.connect();
await queryRunner.startTransaction(); await queryRunner.startTransaction();
const community = await this.validationService.validateCommunityAndProject( const { community } =
await this.validationService.validateCommunityAndProject(
communityUuid, communityUuid,
projectUuid, projectUuid,
); );
@ -78,6 +79,7 @@ export class SpaceService {
: null; : null;
try { try {
console.log('jnkjn', community);
const space = queryRunner.manager.create(SpaceEntity, { const space = queryRunner.manager.create(SpaceEntity, {
...addSpaceDto, ...addSpaceDto,
spaceModel, spaceModel,