finished return the spaces in get community

This commit is contained in:
faris Aljohari
2025-03-18 01:52:01 +03:00
parent 990bcffc2f
commit 9902b02700
5 changed files with 151 additions and 4 deletions

View File

@ -1,8 +1,10 @@
import { SpaceRepository } from '@app/common/modules/space/repositories';
import {
BadRequestException,
forwardRef,
HttpException,
HttpStatus,
Inject,
Injectable,
} from '@nestjs/common';
import { CommunityService } from '../../community/services';
@ -29,6 +31,7 @@ import { ProjectEntity } from '@app/common/modules/project/entities';
export class ValidationService {
constructor(
private readonly projectService: ProjectService,
@Inject(forwardRef(() => CommunityService))
private readonly communityService: CommunityService,
private readonly spaceRepository: SpaceRepository,
private readonly projectRepository: ProjectRepository,