se corrigieron los modules
This commit is contained in:
@@ -1,9 +1,27 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { ProgramaService } from './programa.service';
|
||||
import { ProgramaController } from './programa.controller';
|
||||
import { TypeOrmModule } from '@nestjs/typeorm';
|
||||
import { Programa } from './entities/programa.entity';
|
||||
import { Usuario } from 'src/usuario/entities/usuario.entity';
|
||||
import { UsuarioModule } from 'src/usuario/usuario.module';
|
||||
import { ValidacionService } from 'src/helpers.services/validacion.service';
|
||||
import { AuthService } from 'src/auth/auth.service';
|
||||
import { gmail } from 'src/helpers.services/gmail.service';
|
||||
import { AuthModule } from 'src/auth/auth.module';
|
||||
import { JwtService } from '@nestjs/jwt';
|
||||
import { Servicio } from 'src/servicio/entities/servicio.entity';
|
||||
|
||||
@Module({
|
||||
imports: [TypeOrmModule.forFeature([Programa, Servicio]), UsuarioModule],
|
||||
controllers: [ProgramaController],
|
||||
providers: [ProgramaService],
|
||||
providers: [
|
||||
ProgramaService,
|
||||
AuthService,
|
||||
ValidacionService,
|
||||
gmail,
|
||||
JwtService,
|
||||
],
|
||||
exports: [TypeOrmModule],
|
||||
})
|
||||
export class ProgramaModule {}
|
||||
|
||||
Reference in New Issue
Block a user