You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
502 B
14 lines
502 B
import { forwardRef, Module } from '@nestjs/common'
|
|
import { TypeOrmModule } from '@nestjs/typeorm'
|
|
import { User } from './entity/user.entity'
|
|
import { UsersController } from './users.controller'
|
|
import { UsersService } from './users.service'
|
|
import { PongModule } from 'src/pong/pong.module'
|
|
|
|
@Module({
|
|
imports: [forwardRef(() => PongModule), TypeOrmModule.forFeature([User])],
|
|
controllers: [UsersController],
|
|
providers: [UsersService],
|
|
exports: [UsersService]
|
|
})
|
|
export class UsersModule {}
|
|
|