From b4163548e454428f267b012c4b04832efe2f5226 Mon Sep 17 00:00:00 2001 From: zk Date: Wed, 20 May 2026 19:59:07 +0100 Subject: [PATCH] fix: various bad frontend urls using legacy gameGroup/playtype stuff (#1531) --- .../tables/dropdowns/components/ChunithmScoreDropdownParts.tsx | 2 +- .../tables/dropdowns/components/MaimaiDXScoreDropdownParts.tsx | 2 +- .../tables/dropdowns/components/OngekiScoreDropdownParts.tsx | 2 +- typescript/server/src/lib/builtin-clients/builtin-clients.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/typescript/client/src/components/tables/dropdowns/components/ChunithmScoreDropdownParts.tsx b/typescript/client/src/components/tables/dropdowns/components/ChunithmScoreDropdownParts.tsx index fda92a61f..b9d315e2c 100644 --- a/typescript/client/src/components/tables/dropdowns/components/ChunithmScoreDropdownParts.tsx +++ b/typescript/client/src/components/tables/dropdowns/components/ChunithmScoreDropdownParts.tsx @@ -55,7 +55,7 @@ function Inner({ }) { const { data, error } = useApiQuery<{ song: SongDocument<"chunithm">; - }>(`/games/chunithm/Single/songs/${score.songID}`); + }>(`/games/chunithm/songs/${score.songID}`); if (error !== null || data === undefined) { return ; diff --git a/typescript/client/src/components/tables/dropdowns/components/MaimaiDXScoreDropdownParts.tsx b/typescript/client/src/components/tables/dropdowns/components/MaimaiDXScoreDropdownParts.tsx index 0694351a3..da7d4e3d6 100644 --- a/typescript/client/src/components/tables/dropdowns/components/MaimaiDXScoreDropdownParts.tsx +++ b/typescript/client/src/components/tables/dropdowns/components/MaimaiDXScoreDropdownParts.tsx @@ -58,7 +58,7 @@ function Inner({ }) { const { data, error } = useApiQuery<{ song: SongDocument<"maimaidx">; - }>(`/games/maimaidx/Single/songs/${score.songID}`); + }>(`/games/maimaidx/songs/${score.songID}`); if (error !== null || data === undefined) { return ; diff --git a/typescript/client/src/components/tables/dropdowns/components/OngekiScoreDropdownParts.tsx b/typescript/client/src/components/tables/dropdowns/components/OngekiScoreDropdownParts.tsx index 9e0b285a5..83fc3e6de 100644 --- a/typescript/client/src/components/tables/dropdowns/components/OngekiScoreDropdownParts.tsx +++ b/typescript/client/src/components/tables/dropdowns/components/OngekiScoreDropdownParts.tsx @@ -65,7 +65,7 @@ function Inner({ }) { const { data, error } = useApiQuery<{ song: SongDocument<"ongeki">; - }>(`/games/ongeki/Single/songs/${score.songID}`); + }>(`/games/ongeki/songs/${score.songID}`); if (error !== null || data === undefined) { return ; } diff --git a/typescript/server/src/lib/builtin-clients/builtin-clients.ts b/typescript/server/src/lib/builtin-clients/builtin-clients.ts index bf95068df..1450e6971 100644 --- a/typescript/server/src/lib/builtin-clients/builtin-clients.ts +++ b/typescript/server/src/lib/builtin-clients/builtin-clients.ts @@ -152,7 +152,7 @@ status = '/api/v1/status' # Tachi score import endpoint import = '/ir/direct-manual/import' # Tachi pbs endpoint -pbs = '/api/v1/users/{}/games/sdvx/Single/pbs/all' +pbs = '/api/v1/users/{}/games/sdvx/pbs/all' # Your Tachi API key api_key = '%%TACHI_KEY%%' `,