mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-26 08:04:53 +00:00
fix bug in community
This commit is contained in:
@ -62,7 +62,8 @@ export class SpaceService {
|
||||
await queryRunner.connect();
|
||||
await queryRunner.startTransaction();
|
||||
|
||||
const community = await this.validationService.validateCommunityAndProject(
|
||||
const { community } =
|
||||
await this.validationService.validateCommunityAndProject(
|
||||
communityUuid,
|
||||
projectUuid,
|
||||
);
|
||||
@ -78,6 +79,7 @@ export class SpaceService {
|
||||
: null;
|
||||
|
||||
try {
|
||||
console.log('jnkjn', community);
|
||||
const space = queryRunner.manager.create(SpaceEntity, {
|
||||
...addSpaceDto,
|
||||
spaceModel,
|
||||
|
||||
Reference in New Issue
Block a user