|
|
|
|
@ -21,14 +21,14 @@ export const getHomeMatches = async ({ |
|
|
|
|
offset, |
|
|
|
|
timezoneOffset, |
|
|
|
|
}: Args): Promise<MatchesBySection> => { |
|
|
|
|
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], |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
|