Skip to content

Commit

Permalink
๐Ÿ”ง fix : app.moudle์—์„œ ํ•„ํ„ฐ ์‚ญ์ œ
Browse files Browse the repository at this point in the history
  • Loading branch information
jinddings committed Nov 14, 2024
1 parent ae0e854 commit 4802fc3
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions BE/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ConfigModule } from '@nestjs/config';
import { ScheduleModule } from '@nestjs/schedule';
import { APP_FILTER } from '@nestjs/core';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { AuthModule } from './auth/auth.module';
Expand All @@ -15,8 +14,6 @@ import { StockDetailModule } from './stock/detail/stock-detail.module';
import { typeOrmConfig } from './configs/typeorm.config';
import { StockListModule } from './stock/list/stock-list.module';
import { StockTradeHistoryModule } from './stock/trade/history/stock-trade-history.module';
import { RedisModule } from './common/redis/redis.module';
import { HTTPExceptionFilter } from './common/filters/http-exception.filter';

@Module({
imports: [
Expand All @@ -32,15 +29,8 @@ import { HTTPExceptionFilter } from './common/filters/http-exception.filter';
StockOrderModule,
StockListModule,
StockTradeHistoryModule,
RedisModule,
],
controllers: [AppController],
providers: [
AppService,
{
provide: APP_FILTER,
useClass: HTTPExceptionFilter,
},
],
providers: [AppService],
})
export class AppModule {}

0 comments on commit 4802fc3

Please sign in to comment.