The get_current_event helper should require a second parameter, event_type, which is then used to look up what the current event is.
All code that references get_current_event therefore needs to either take in the event type in question as a parameter, or deduce the current event type from other means.
The
get_current_event
helper should require a second parameter,event_type
, which is then used to look up what the current event is.All code that references get_current_event therefore needs to either take in the event type in question as a parameter, or deduce the current event type from other means.
Depends on #43