Skip to content

Commit 07b9426

Browse files
committed
Update matchHelpers.ts
1 parent f127b73 commit 07b9426

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/utils/matchHelpers.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -569,11 +569,11 @@ export async function endMatch(
569569
): Promise<boolean> {
570570
console.log(`Attempting to close match ${matchId}`)
571571

572-
const matchCheck = await getMatchStatus(matchId)
573-
if (!matchCheck) {
574-
console.log(`match ${matchId} already closed, aborting`)
575-
return true
576-
}
572+
// const matchCheck = await getMatchStatus(matchId)
573+
// if (!matchCheck) {
574+
// console.log(`match ${matchId} already closed, aborting`)
575+
// return true
576+
// }
577577

578578
await closeMatch(matchId)
579579
console.log(`Ending match ${matchId}, cancelled: ${cancelled}`)

0 commit comments

Comments
 (0)