This commit is contained in:
Jörn-Michael Miehe 2022-09-06 23:47:48 +00:00
parent 33359aae43
commit e193410725

View file

@ -36,6 +36,6 @@ async def find_calendars(
@router.get("/get/{prefix}", response_model=list[CalEvent]) @router.get("/get/{prefix}", response_model=list[CalEvent])
async def get_calendar( async def get_calendar(
name: Iterator[str] = Depends(_unique), name: str = Depends(_unique),
) -> list[CalEvent]: ) -> list[CalEvent]:
return list(await DavCalendar(name).events) return list(await DavCalendar(name).events)