Merge pull request #69 from SyncrowIOT/SP-309-Rename-main-app-module

Sp 309 rename main app module
This commit is contained in:
faris Aljohari
2024-08-01 12:16:06 +03:00
committed by GitHub
4 changed files with 6 additions and 5 deletions

View File

@ -1,4 +1,5 @@
{
"singleQuote": true,
"trailingComma": "all"
"trailingComma": "all",
"endOfLine": "auto"
}

View File

@ -57,4 +57,4 @@ import { TimeZoneModule } from './timezone/timezone.module';
},
],
})
export class AuthModule {}
export class AppModule {}

View File

@ -1,5 +1,5 @@
import { NestFactory } from '@nestjs/core';
import { AuthModule } from './app.module';
import { AppModule } from './app.module';
import rateLimit from 'express-rate-limit';
import helmet from 'helmet';
import { setupSwaggerAuthentication } from '../libs/common/src/util/user-auth.swagger.utils';
@ -8,7 +8,7 @@ import { json, urlencoded } from 'body-parser';
import { SeederService } from '@app/common/seed/services/seeder.service';
async function bootstrap() {
const app = await NestFactory.create(AuthModule);
const app = await NestFactory.create(AppModule);
app.enableCors();