diff --git a/src/utils/scoresaber/api.ts b/src/utils/scoresaber/api.ts index e6330d7..4377c8c 100644 --- a/src/utils/scoresaber/api.ts +++ b/src/utils/scoresaber/api.ts @@ -29,7 +29,7 @@ export async function searchByName( name: string, ): Promise { const response = await fetchQueue.fetch( - formatString(SEARCH_PLAYER_URL, name), + formatString(SEARCH_PLAYER_URL, true, name), ); const json = await response.json(); @@ -51,7 +51,7 @@ export async function getPlayerInfo( playerId: string, ): Promise { const response = await fetchQueue.fetch( - formatString(GET_PLAYER_DATA_FULL, playerId), + formatString(GET_PLAYER_DATA_FULL, true, playerId), ); const json = await response.json(); @@ -95,7 +95,7 @@ export async function fetchScores( limit = 100; } const response = await fetchQueue.fetch( - formatString(PLAYER_SCORES, playerId, limit, searchType, page), + formatString(PLAYER_SCORES, true, playerId, limit, searchType, page), ); const json = await response.json();