Commit e00cd30f authored by Diego Iván's avatar Diego Iván
Browse files

agregando modulo para category

parent c60bffaf
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
import { Module } from '@nestjs/common';
import { CategoryService } from './category.service';
import { CategoryController } from './category.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Category } from './entities/category.entity';
import { AuthAdminService } from 'src/auth/admin/authAdmin.service';
import { JwtService } from '@nestjs/jwt';
import { EncryptionService } from 'src/auth/encryption/encryption.service';
import { AdminService } from 'src/admin/admin.service';
import { Admin } from 'src/admin/entities/admin.entity';
import { Town } from 'src/town/entities/town.entity';

@Module({
  controllers: [CategoryController],
  providers: [CategoryService, AuthAdminService, JwtService, EncryptionService, AdminService],
  imports: [TypeOrmModule.forFeature([Category, Admin, Town])],
})
export class CategoryModule {}