b2b
This commit is contained in:
@@ -375,8 +375,6 @@ export function createBadgesService(pb: PocketBase) {
|
|||||||
let maxConsecutiveWins = 0;
|
let maxConsecutiveWins = 0;
|
||||||
|
|
||||||
for (const tournament of tournaments) {
|
for (const tournament of tournaments) {
|
||||||
if (!tournamentIds.has(tournament.id)) continue;
|
|
||||||
|
|
||||||
const tournamentMatches = await pb.collection("matches").getFullList({
|
const tournamentMatches = await pb.collection("matches").getFullList({
|
||||||
filter: `tournament = "${tournament.id}" && status = "ended"`,
|
filter: `tournament = "${tournament.id}" && status = "ended"`,
|
||||||
expand: 'home,away,home.players,away.players',
|
expand: 'home,away,home.players,away.players',
|
||||||
|
|||||||
Reference in New Issue
Block a user