typing
This commit is contained in:
parent
33359aae43
commit
e193410725
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue