small adjustment to api call
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
This commit is contained in:
@@ -82,7 +82,7 @@ export const getMatchDetails = async (match_id) => {
|
|||||||
|
|
||||||
export const loadMoreMatches = async (player_id, date) => {
|
export const loadMoreMatches = async (player_id, date) => {
|
||||||
try {
|
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) {
|
if (res.status === 200) {
|
||||||
return res.data
|
return res.data
|
||||||
|
Reference in New Issue
Block a user