diff --git a/app/actions.ts b/app/actions.ts index 4d73945..503a3c0 100644 --- a/app/actions.ts +++ b/app/actions.ts @@ -459,7 +459,7 @@ export async function fetchLeaderboard(params: {}) { let backendString = new URLSearchParams(backendObject).toString(); let data = await fetch( - `${process.env.REACT_APP_API_URL}/leaderboards?mode=${osuMode}&${backendString}`, + `${process.env.REACT_APP_API_URL}/leaderboards?ruleset=${osuMode}&${backendString}`, { headers: { 'Content-Type': 'application/json', diff --git a/components/SubmitMatches/MatchForm/MatchForm.tsx b/components/SubmitMatches/MatchForm/MatchForm.tsx index f3d7197..e9f1fb4 100644 --- a/components/SubmitMatches/MatchForm/MatchForm.tsx +++ b/components/SubmitMatches/MatchForm/MatchForm.tsx @@ -78,7 +78,7 @@ export default function MatchForm({