fix(get-matches): change method get-matches

pull/62/head
Andrei Dekterev 3 years ago
parent e66d8147fa
commit a7bd8c392e
  1. 10
      src/requests/getMatches/getHomeMatches.tsx

@ -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],
},
}

Loading…
Cancel
Save