|
|
@@ -1,4 +1,4 @@
|
|
|
-import { Module } from '@nestjs/common'
|
|
|
+import { Module, forwardRef } from '@nestjs/common'
|
|
|
import { TypeOrmModule } from '@nestjs/typeorm'
|
|
|
import { Users } from './entities/users.entity'
|
|
|
import { UsersService } from './users.service'
|
|
|
@@ -8,9 +8,11 @@ import { HashingService } from '../shared/hashing/hashing.service'
|
|
|
import { SmsModule } from '../sms/sms.module'
|
|
|
import { UsersAdminController } from './users.admin.controller'
|
|
|
import { MembershipModule } from 'src/membership/membership.module'
|
|
|
+import { CommissionModule } from '../commission/commission.module'
|
|
|
|
|
|
@Module({
|
|
|
- imports: [SmsModule, TypeOrmModule.forFeature([Users]), MembershipModule],
|
|
|
+ imports: [SmsModule, TypeOrmModule.forFeature([Users]), MembershipModule,
|
|
|
+ forwardRef(() => CommissionModule)],
|
|
|
controllers: [UsersController, UsersAdminController],
|
|
|
providers: [
|
|
|
{
|