fix: various bad frontend urls using legacy gameGroup/playtype stuff (#1531)

This commit is contained in:
zk
2026-05-20 19:59:07 +01:00
committed by GitHub
parent 68af25e345
commit b4163548e4
4 changed files with 4 additions and 4 deletions
@@ -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 <Box message="Error retrieving chart" />;
@@ -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 <Box message="Error retrieving chart" />;
@@ -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 <Box message="Error retrieving chart" />;
}
@@ -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%%'
`,