se añadieron los controldores para autorizacion de login
This commit is contained in:
+7
-1
@@ -7,6 +7,10 @@ import { EventosModule } from './eventos/eventos.module';
|
||||
import { ParticipanteController } from './participante/participante.controller';
|
||||
import { ParticipanteModule } from './participante/participante.module';
|
||||
import { EventoParticipanteModule } from './evento-participante/evento-participante/evento-participante.module';
|
||||
import { UsuarioModule } from './usuario/usuario.module';
|
||||
import { AuthModule } from './auth/auth.module';
|
||||
import { PassportModule } from '@nestjs/passport';
|
||||
import { JwtModule } from '@nestjs/jwt';
|
||||
|
||||
@Module({
|
||||
imports: [
|
||||
@@ -23,7 +27,9 @@ import { EventoParticipanteModule } from './evento-participante/evento-participa
|
||||
}),
|
||||
EventosModule,
|
||||
ParticipanteModule,
|
||||
EventoParticipanteModule],
|
||||
EventoParticipanteModule,
|
||||
UsuarioModule,
|
||||
AuthModule, PassportModule, JwtModule.register({})],
|
||||
controllers: [AppController, ParticipanteController],
|
||||
providers: [AppService],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user