Skip to content

Commit

Permalink
fix: updated files to remove unnecessary chnages
Browse files Browse the repository at this point in the history
  • Loading branch information
na-cho-dev committed Mar 2, 2025
1 parent 37fd07a commit fa5c698
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ import { join } from 'path';
import { LanguageGuard } from '@guards/language.guard';
import { ApiStatusModule } from '@modules/api-status/api-status.module';
import s3Config from '@config/s3.config';
import * as dotenv from 'dotenv';

dotenv.config();
@Module({
providers: [
{
Expand Down
2 changes: 1 addition & 1 deletion src/database/data-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dotenv.config();
const isDevelopment = process.env.NODE_ENV === 'development';

const dataSource = new DataSource({
type: (process.env.DB_TYPE as 'postgres') || 'postgres',
type: process.env.DB_TYPE as 'postgres',
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
host: process.env.DB_HOST,
Expand Down
2 changes: 0 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ import { initializeDataSource } from '@database/data-source';
import { SeedingService } from '@database/seeding/seeding.service';
import { ResponseInterceptor } from '@shared/inteceptors/response.interceptor';
import { Request, Response } from 'express';
import * as dotenv from 'dotenv';

dotenv.config();
async function bootstrap() {
const app = await NestFactory.create<NestExpressApplication>(AppModule, { bufferLogs: true });

Expand Down

0 comments on commit fa5c698

Please sign in to comment.