Skip to content

Commit

Permalink
bug: events import variable being overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
crtr0 committed Dec 6, 2023
1 parent 33f9655 commit b60c181
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ function filterFutureEvents() {
* Load upcoming events + all organizers + all sponsors
*/
export async function get() {
let events = filterFutureEvents().map(inflateEvent)
let filteredEvents = filterFutureEvents().map(inflateEvent)
return {
json: { events, organizers, sponsors }
json: { events: filteredEvents, organizers, sponsors }
}
}

0 comments on commit b60c181

Please sign in to comment.