.
This commit is contained in:
1 parent
b152a5b0fa
commit
2379051196
32 files changed
+1682
-383
No files matched your search
@@ -30,6 +30,7 @@ interface JoinAuctionPayload {
|
||||
|
||||
interface BidPayload {
|
||||
side: TeamSide;
|
||||
groupIndex?: number;
|
||||
amount: number;
|
||||
bidderUserId?: string;
|
||||
}
|
||||
@@ -125,6 +126,7 @@ export class AuctionGateway
|
||||
const auction = await this.auctionService.placeBid({
|
||||
matchId: new mongoose.Types.ObjectId(matchId),
|
||||
side: payload.side,
|
||||
groupIndex: payload.groupIndex ?? 1,
|
||||
amount: payload.amount,
|
||||
bidderUserId,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user