From 773642066bf07bcdb0b04d11a43500a791b0981a Mon Sep 17 00:00:00 2001 From: JIN Date: Wed, 6 Nov 2024 17:24:46 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=20=EC=83=81/=ED=95=98?= =?UTF-8?q?=EC=9C=84=20=EC=A2=85=EB=AA=A9=205=EA=B0=9C=EB=A7=8C=20?= =?UTF-8?q?=EB=B0=98=ED=99=98=ED=95=A0=20=EC=88=98=20=EC=9E=88=EB=8F=84?= =?UTF-8?q?=EB=A1=9D=20=EC=88=98=EC=A0=95#12?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/stocks/topfive/topfive.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BE/src/stocks/topfive/topfive.service.ts b/BE/src/stocks/topfive/topfive.service.ts index 51a563ef..7fdf49ed 100644 --- a/BE/src/stocks/topfive/topfive.service.ts +++ b/BE/src/stocks/topfive/topfive.service.ts @@ -181,7 +181,7 @@ export class TopFiveService { } private formatStockData(stocks: StockApiOutputData[]) { - return stocks.map((stock) => { + return stocks.slice(0, 5).map((stock) => { const stockData = new StockRankingDataDto(); stockData.hts_kor_isnm = stock.hts_kor_isnm; stockData.stck_prpr = stock.stck_prpr;