12 lines
437 B
TypeScript
12 lines
437 B
TypeScript
|
import { Module } from '@nestjs/common';
|
||
|
import { TypeOrmModule } from '@nestjs/typeorm';
|
||
|
import { User } from 'server/entities/user.entity';
|
||
|
import { SessionsController } from '../controllers/sessions.controller';
|
||
|
import { UsersService } from '../providers/services/users.service';
|
||
|
@Module({
|
||
|
imports: [TypeOrmModule.forFeature([User])],
|
||
|
controllers: [SessionsController],
|
||
|
providers: [UsersService],
|
||
|
})
|
||
|
export class UsersModule {}
|