reactions, match sse, etc
This commit is contained in:
@@ -80,7 +80,9 @@ export function createPlayersService(pb: PocketBase) {
|
||||
},
|
||||
|
||||
async getPlayerMatches(playerId: string): Promise<Match[]> {
|
||||
const player = await pb.collection("players").getOne(playerId, {
|
||||
console.log('----------------')
|
||||
console.log(playerId)
|
||||
const player = await pb.collection("players").getOne(playerId.trim(), {
|
||||
expand: "teams",
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user