i think working bracket runner
This commit is contained in:
@@ -181,9 +181,6 @@ export const endMatch = createServerFn()
|
||||
|
||||
// winner -> where to send match winner to, loser same
|
||||
const { winner, loser } = await pbAdmin.getChildMatches(matchId)
|
||||
|
||||
console.log('match winner:', matchWinner)
|
||||
console.log('match loser:', matchLoser)
|
||||
|
||||
if (winner) {
|
||||
await pbAdmin.updateMatch(winner.id, {
|
||||
|
||||
Reference in New Issue
Block a user