From 2d1afc637f657c3628953b0d794483968ce3e9a7 Mon Sep 17 00:00:00 2001 From: vikingowl Date: Sat, 23 Oct 2021 23:11:35 +0200 Subject: [PATCH] small adjustment to api call --- src/utils/ApiRequests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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