Skip to content

Commit

Permalink
increase limit on events calendar api call
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelmdLow committed Nov 14, 2024
1 parent 6b8afa5 commit 0c85e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ubyssey/static_src/src/js/components/Events/calendar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export function QueryEventsCalendar() {
console.log(String(apiStart) + " " + String(apiEnd));
axios
.get(
'/api/events/?limit=300&start_time__gte=' + apiStart.toISOString() + "&end_time__lte=" + apiEnd.toISOString() //2024-10-15T11:00:00-07:00 If needed you can increase or decrease the limit to include more or lesser events or add more query parmaters
'/api/events/?limit=1000&start_time__gte=' + apiStart.toISOString() + "&end_time__lte=" + apiEnd.toISOString() //2024-10-15T11:00:00-07:00 If needed you can increase or decrease the limit to include more or lesser events or add more query parmaters
)
.then((response) => {
const res = response.data.results;
Expand Down

0 comments on commit 0c85e14

Please sign in to comment.