regional teams
This commit is contained in:
@@ -126,7 +126,7 @@ export function createPlayersService(pb: PocketBase) {
|
||||
const result = await pb.collection("matches").getFullList({
|
||||
filter: `(${teamFilter}) && (status = "ended" || status = "started")`,
|
||||
sort: "-created",
|
||||
expand: "tournament,home,away",
|
||||
expand: "tournament,home,away,home.players,away.players",
|
||||
});
|
||||
|
||||
return result.map((match) => transformMatch(match));
|
||||
|
||||
Reference in New Issue
Block a user