You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This ticket adds a to-do list on some possible improvements to the events backend as I refactor the frontend:
Ensure that registration data does not emit all user details - should only emit profile name. Then, create a pagination API route for EventRegistration[] rather than just User[], and replace getRegisteredUsersForEvent with getEventRegistrations on the frontend.
Rename the register for event API to be a post as follows: /api/events/register. The body should be the event ID to register for. Same for unregistering.
Refactor the events pagination such that by default, filtering by string does not use the time parameters.
The text was updated successfully, but these errors were encountered:
This ticket adds a to-do list on some possible improvements to the events backend as I refactor the frontend:
EventRegistration[]
rather than justUser[]
, and replacegetRegisteredUsersForEvent
withgetEventRegistrations
on the frontend./api/events/register
. The body should be the event ID to register for. Same for unregistering.The text was updated successfully, but these errors were encountered: