Skip to content

Commit

Permalink
♻️ refactor: 필요없는 import 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
sieunie committed Nov 7, 2024
1 parent 87834ba commit cf81c6e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions BE/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import { AppService } from './app.service';
import { AuthModule } from './auth/auth.module';
import { User } from './auth/user.entity';
import { StockIndexModule } from './stock/index/stock.index.module';
import { SocketService } from './websocket/socket.service';
import { SocketGateway } from './websocket/socket.gateway';
import { StockTopfiveModule } from './stock/topfive/stock.topfive.module';
import { KoreaInvestmentModule } from './koreaInvestment/korea.investment.module';
import { SocketModule } from './websocket/socket.module';
Expand Down
2 changes: 1 addition & 1 deletion BE/src/stock/index/stock.index.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class StockIndexController {
return new StockIndexResponseDto(stockLists, stockValues);
}

@Cron('*/1 9-16 * * 1-5')
@Cron('*/5 9-16 * * 1-5')
async cronStockIndexLists() {
const accessToken = await this.koreaInvestmentService.getAccessToken();

Expand Down
3 changes: 1 addition & 2 deletions BE/src/websocket/socket.module.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import { Module } from '@nestjs/common';
import { SocketService } from './socket.service';
import { SocketGateway } from './socket.gateway';
import { KoreaInvestmentModule } from '../koreaInvestment/korea.investment.module';

@Module({
imports: [KoreaInvestmentModule],
imports: [],
controllers: [],
providers: [SocketService, SocketGateway],
exports: [SocketGateway],
Expand Down

0 comments on commit cf81c6e

Please sign in to comment.