We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f127b73 commit 07b9426Copy full SHA for 07b9426
src/utils/matchHelpers.ts
@@ -569,11 +569,11 @@ export async function endMatch(
569
): Promise<boolean> {
570
console.log(`Attempting to close match ${matchId}`)
571
572
- const matchCheck = await getMatchStatus(matchId)
573
- if (!matchCheck) {
574
- console.log(`match ${matchId} already closed, aborting`)
575
- return true
576
- }
+ // const matchCheck = await getMatchStatus(matchId)
+ // if (!matchCheck) {
+ // console.log(`match ${matchId} already closed, aborting`)
+ // return true
+ // }
577
578
await closeMatch(matchId)
579
console.log(`Ending match ${matchId}, cancelled: ${cancelled}`)
0 commit comments