added logging and reworked Series query

This commit is contained in:
Lucas Jensen
2024-05-01 10:37:41 -07:00
parent 04b3f390de
commit 8a24a5e979
13 changed files with 89 additions and 54 deletions

View File

@@ -51,7 +51,7 @@ class Controller:
return await self.event_controller.get_all_series()
async def get_event(self, id: int) -> EventSeries:
return await self.event_controller.get_one_series(id)
return await self.event_controller.get_one_series_by_id(id)
async def create_event(
self, series: NewEventSeries, token: HTTPAuthorizationCredentials