diff --git a/src/requests/getMatches/getHomeMatches.tsx b/src/requests/getMatches/getHomeMatches.tsx index b0e799c5..e14b7cdf 100644 --- a/src/requests/getMatches/getHomeMatches.tsx +++ b/src/requests/getMatches/getHomeMatches.tsx @@ -21,14 +21,14 @@ export const getHomeMatches = async ({ offset, timezoneOffset, }: Args): Promise => { - const url = `${API_ROOT}/v1/data/get-matches` + const url = `${API_ROOT}/v1/data/matches/query` const config = { body: { - _p_date: `${date} 00:00:00`, - _p_gmt: timezoneOffset, - _p_limit: limit, - _p_offset: offset, + date: `${date} 00:00:00`, + gmt: timezoneOffset, + limit, + offset, ...client.requests?.[proc], }, }