mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-08-21 18:44:51 -05:00
Fix seed to include team in LR2 due to BYE
This commit is contained in:
@@ -432,7 +432,16 @@ export async function seed(variation?: SeedVariations) {
|
||||
},
|
||||
{
|
||||
matchId: matchToAdvance.loserDestinationMatchId!,
|
||||
order: "LOWER", // TODO: figure out this
|
||||
order: "LOWER",
|
||||
teamId: matchToAdvance.participants.find(
|
||||
(p) => p.order === "UPPER"
|
||||
)!.teamId,
|
||||
},
|
||||
{
|
||||
matchId: matches.find(
|
||||
(match) => match.id === matchToAdvance.loserDestinationMatchId!
|
||||
)!.winnerDestinationMatchId!,
|
||||
order: "LOWER",
|
||||
teamId: matchToAdvance.participants.find(
|
||||
(p) => p.order === "UPPER"
|
||||
)!.teamId,
|
||||
|
||||
Reference in New Issue
Block a user