LocChat/server/modules/users.module.ts

12 lines
437 B
TypeScript
Raw Normal View History

2021-11-16 21:14:46 -05:00
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 {}