diff --git a/src/utils/ApiRequests.js b/src/utils/ApiRequests.js index 3e5b16a..2d90775 100644 --- a/src/utils/ApiRequests.js +++ b/src/utils/ApiRequests.js @@ -82,7 +82,7 @@ export const getMatchDetails = async (match_id) => { export const loadMoreMatches = async (player_id, date) => { try { - const res = await axios.get(`${API_URL}/player/${player_id}/after/${date}`) + const res = await axios.get(`${API_URL}/player/${player_id}/next/${date}`) if (res.status === 200) { return res.data