From ad28c4cce52877ab541b5e02292db3488e457d78 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 20 Oct 2023 22:09:34 +0100 Subject: [PATCH] i really shoud test before commiting --- src/utils/scoresaber/api.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();