mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 17:28:31 +03:00
fix: various bad frontend urls using legacy gameGroup/playtype stuff (#1531)
This commit is contained in:
+1
-1
@@ -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" />;
|
||||
|
||||
+1
-1
@@ -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" />;
|
||||
|
||||
+1
-1
@@ -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%%'
|
||||
`,
|
||||
|
||||
Reference in New Issue
Block a user