Skip to content

Commit

Permalink
fix: simplelist fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 28, 2024
1 parent 44dbf49 commit 0424aca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/upbit/coin-list.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class CoinListService {
if (!markets.length) return [];

return krwCoinInfo
.filter((coin) => coin.market === (markets))
.filter((coin) => markets.some(market=> market===coin.market))
.map((coin) => this.toSimpleCoinDto(coin));
}

Expand Down

0 comments on commit 0424aca

Please sign in to comment.