Skip to content

Commit 4bc8151

Browse files
authored
Merge pull request #6 from c2d13p/patch-2
fix to override seminars limit of 10
2 parents ea03b1e + fa0c9b5 commit 4bc8151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/element.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const getSeminarCategory = async ({ endpoint, category, from, to }) => {
129129

130130
let seminarsInRange = cachedSeminars[cacheKey]
131131
if (!seminarsInRange) {
132-
const req = await fetch(endpoint + `/api/v0/public/seminars?from=${from.toISOString()}&to=${to.toISOString()}`, {
132+
const req = await fetch(endpoint + `/api/v0/public/seminars?_limit=500&_sort=startDateTime&from=${from.toISOString()}&to=${to.toISOString()}`, {
133133
mode: 'cors',
134134
})
135135
seminarsInRange = (await req.json()).data

0 commit comments

Comments
 (0)