This commit is contained in:
parent
81fe9c3bb6
commit
97d7ab2d0a
@ -58,7 +58,8 @@ const getPlayerData = async ({ params }: Props, fetchScores: boolean = true): Pr
|
||||
|
||||
const playerToken = await scoresaberService.lookupPlayer(id);
|
||||
const player =
|
||||
playerToken && (await getScoreSaberPlayerFromToken(playerToken, config.siteApi, cookies().get("playerId")?.value));
|
||||
playerToken &&
|
||||
(await getScoreSaberPlayerFromToken(playerToken, config.siteApi, (await cookies()).get("playerId")?.value));
|
||||
let scores: ScoreSaberPlayerScoresPageToken | undefined;
|
||||
if (fetchScores) {
|
||||
scores = await scoresaberService.lookupPlayerScores({
|
||||
|
Reference in New Issue
Block a user