Fix not being able to start bracket with byes (RR)

This commit is contained in:
Kalle
2024-01-30 17:24:11 +02:00
parent 422f3227b6
commit 9fdf49438b

View File

@@ -478,8 +478,8 @@ export class Match {
stageId: this.stageId,
groupId: this.groupId,
number: this.number,
opponentOne: this.opponentOne,
opponentTwo: this.opponentTwo,
opponentOne: this.opponentOne ?? "null",
opponentTwo: this.opponentTwo ?? "null",
status: this.status,
chatCode: nanoid(10),
}) as any;
@@ -497,8 +497,8 @@ export class Match {
stageId: this.stageId,
groupId: this.groupId,
number: this.number,
opponentOne: this.opponentOne,
opponentTwo: this.opponentTwo,
opponentOne: this.opponentOne ?? "null",
opponentTwo: this.opponentTwo ?? "null",
status: this.status,
});