Skip to content

Commit

Permalink
fix: ask service error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SeungGwan123 committed Dec 5, 2024
1 parent ea2fa57 commit 64122a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/server/src/trade/trade-ask.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,8 @@ export class AskService extends TradeAskBidService implements OnModuleInit {
if (userAsset) {
askDto.assetBalance = userAsset.quantity;
askDto.asset = userAsset;
}else{
return 0;
}
const { bid_price, bid_size } = order;
const { userId, asset, krw } = askDto;
Expand Down

0 comments on commit 64122a3

Please sign in to comment.