phoenixlan / phoenixapi-v1

Python-based api server for a self-hosted event hosting system
GNU General Public License v3.0
2 stars 0 forks source link

Refactor get_current_event to take event type #44

Open petterroea opened 9 months ago

petterroea commented 9 months ago

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