Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Nov 28, 2024
1 parent 7beb3fa commit c809955
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/server/src/upbit/upbit.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,15 @@ export class UpbitController {
})
@Sse('orderbook')
orderbookUpdates(
@Query('coins') coinsQuery?: string,
@Query('coins') coinsQuery?: string[],
): Observable<MessageEvent> {
const coins = this.parseCoins(coinsQuery);

const updatesStream = this.sseService.getUpdatesStream(
return this.sseService.getUpdatesStream(
'orderbook',
coins,
this.coinListService.convertToOrderbookDto,
);
return updatesStream
}

@ApiOperation({
Expand Down

0 comments on commit c809955

Please sign in to comment.