oops
This commit is contained in:
parent
c09a50b8a2
commit
f8e0326dec
@ -104,7 +104,7 @@ export async function getScoreSaberPlayerFromToken(
|
|||||||
.get<{
|
.get<{
|
||||||
statistics: { [key: string]: PlayerHistory };
|
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();
|
.json();
|
||||||
if (history) {
|
if (history) {
|
||||||
|
@ -60,7 +60,7 @@ export function sortPlayerHistory(history: Map<string, PlayerHistory>) {
|
|||||||
* @param id the player id
|
* @param id the player id
|
||||||
*/
|
*/
|
||||||
export async function trackPlayer(id: string) {
|
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`);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user