mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-17 11:15:14 +00:00
finished return the spaces in get community
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user