Skip to content

Commit

Permalink
Merge pull request #221 from osu-tournament-rating/rename-player-routes
Browse files Browse the repository at this point in the history
Remove `/info` to comply with resource oriented design
  • Loading branch information
hburn7 authored Sep 30, 2024
2 parents 579a7cd + ab3a5b8 commit d29bc78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ export async function fetchUserPageTitle(player: string | number) {
const session = await getSession(true);

let res = await fetch(
`${process.env.REACT_APP_API_URL}/players/${player}/info`,
`${process.env.REACT_APP_API_URL}/players/${player}`,
{
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit d29bc78

Please sign in to comment.