From a7bd8c392ead37e36b80ef7344543d4f18f32178 Mon Sep 17 00:00:00 2001 From: Andrei Dekterev Date: Mon, 6 Feb 2023 18:34:28 +0700 Subject: [PATCH] fix(get-matches): change method get-matches --- src/requests/getMatches/getHomeMatches.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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], }, }