diff --git a/projects/common/src/player/impl/scoresaber-player.ts b/projects/common/src/player/impl/scoresaber-player.ts index 137cb21..d016343 100644 --- a/projects/common/src/player/impl/scoresaber-player.ts +++ b/projects/common/src/player/impl/scoresaber-player.ts @@ -104,7 +104,7 @@ export async function getScoreSaberPlayerFromToken( .get<{ statistics: { [key: string]: PlayerHistory }; }>( - `${Config.apiUrl}/player/history/${token.id}${playerIdCookie && playerIdCookie == token.id ? "?createIfMissing=true" : ""}` + `${Config.apiUrl}/player/history/50/${token.id}${playerIdCookie && playerIdCookie == token.id ? "?createIfMissing=true" : ""}` ) .json(); if (history) { diff --git a/projects/common/src/utils/player-utils.ts b/projects/common/src/utils/player-utils.ts index af60564..35604cf 100644 --- a/projects/common/src/utils/player-utils.ts +++ b/projects/common/src/utils/player-utils.ts @@ -60,7 +60,7 @@ export function sortPlayerHistory(history: Map) { * @param id the player id */ export async function trackPlayer(id: string) { - await kyFetch(`${Config.apiUrl}/player/history/${id}?createIfMissing=true`); + await kyFetch(`${Config.apiUrl}/player/history/1/${id}?createIfMissing=true`); } /**