Skip to content

Commit

Permalink
Merge pull request #6 from c2d13p/patch-2
Browse files Browse the repository at this point in the history
fix to override seminars limit of 10
  • Loading branch information
paolini authored Jun 11, 2024
2 parents ea03b1e + fa0c9b5 commit 4bc8151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/element.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const getSeminarCategory = async ({ endpoint, category, from, to }) => {

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

0 comments on commit 4bc8151

Please sign in to comment.