diff --git a/api/ovdashboard_api/routers/calendar.py b/api/ovdashboard_api/routers/calendar.py index e19c4f1..e75b533 100644 --- a/api/ovdashboard_api/routers/calendar.py +++ b/api/ovdashboard_api/routers/calendar.py @@ -36,6 +36,6 @@ async def find_calendars( @router.get("/get/{prefix}", response_model=list[CalEvent]) async def get_calendar( - name: Iterator[str] = Depends(_unique), + name: str = Depends(_unique), ) -> list[CalEvent]: return list(await DavCalendar(name).events)