Skip to content

Commit

Permalink
#167 Fix typos in URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszdworniczak committed Apr 21, 2021
1 parent 2662a53 commit d773c0c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ export const DoublesTournamentRestAPI = (
return {
getTournamentPlaces(tournamentId: string): Promise<TournamentPlaceListDto> {
return axios
.get<TournamentPlaceListDto>(`${currentConfig.baseUrl}/doubles-tournament/${tournamentId}/places`)
.get<TournamentPlaceListDto>(`${currentConfig.baseUrl}/doubles-tournaments/${tournamentId}/places`)
.then((res) => res.data)
},
getDoublesTournament(tournamentId: string): Promise<DoublesTournamentDto> {
return axios
.get<DoublesTournamentDto>(`${currentConfig.baseUrl}/doubles-tournament/${tournamentId}`)
.get<DoublesTournamentDto>(`${currentConfig.baseUrl}/doubles-tournaments/${tournamentId}`)
.then((res) => res.data)
},
getTournamentTeams(tournamentId: string): Promise<TournamentTeamsListDto> {
return axios
.get<TournamentTeamsListDto>(`${currentConfig.baseUrl}/doubles-tournament/${tournamentId}/teams`)
.get<TournamentTeamsListDto>(`${currentConfig.baseUrl}/doubles-tournaments/${tournamentId}/teams`)
.then((res) => res.data);
}
};
Expand Down

0 comments on commit d773c0c

Please sign in to comment.