From e19341072574c812efa40f20c55ef04c5aab0b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Tue, 6 Sep 2022 23:47:48 +0000 Subject: [PATCH] typing --- api/ovdashboard_api/routers/calendar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)