diff --git a/src/hooks/useFetchEvents.ts b/src/hooks/useFetchEvents.ts index eb8e2db..d5fe1d0 100644 --- a/src/hooks/useFetchEvents.ts +++ b/src/hooks/useFetchEvents.ts @@ -11,14 +11,15 @@ const fetcher = (url: string, config: AxiosRequestConfig) => axios.get(url, conf const generateFetchParams = (id = "", options: Options = {}) => { const url = `${URL}${id}`; const { - auth, onlyNonPast, limit, offset, + // auth, onlyNonPast, limit, offset, + auth, limit, offset, } = options; return { url, config: { params: { - since: onlyNonPast ? (new Date()).toISOString() : undefined, + // since: onlyNonPast ? (new Date()).toISOString() : undefined, limit, offset, },