oops
All checks were successful
Deploy Backend / docker (ubuntu-latest) (push) Successful in 45s
Deploy Website / docker (ubuntu-latest) (push) Successful in 2m21s

This commit is contained in:
Lee 2024-10-23 09:06:44 +01:00
parent c09a50b8a2
commit f8e0326dec
2 changed files with 2 additions and 2 deletions

@ -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) {

@ -60,7 +60,7 @@ export function sortPlayerHistory(history: Map<string, PlayerHistory>) {
* @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`);
}
/**