diff --git a/src/app.module.ts b/src/app.module.ts index 35d4026..ccdcbc1 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -4,6 +4,7 @@ import { AppService } from './app.service'; import { ConfigModule } from './config/config.module'; import { ConfigService } from './config/config.service'; import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; +import { TodosModule } from './todos/todos.module'; @Module({ imports: [ @@ -18,14 +19,10 @@ import { TypeOrmModule, TypeOrmModuleOptions } from '@nestjs/typeorm'; entities: [__dirname + '/**/*.entity{.ts,.js}'], synchronize: true, logging: configService.isLoggingDb ? 'all' : false, - extra: { - ssl: { - rejectUnauthorized: false - }, - }, }), inject: [ConfigService], }), + TodosModule, ], controllers: [AppController], providers: [AppService],