small adjustment to api call
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good

This commit is contained in:
2021-10-23 23:11:35 +02:00
parent 0020518ba3
commit 2d1afc637f

View File

@@ -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