From be17ec92028e126e9fd1916d046a21d6049e500e Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 18 Dec 2024 23:47:40 +0100 Subject: [PATCH] fix list --- app/routers/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/events.py b/app/routers/events.py index 7cfa3ec..b28cbd3 100644 --- a/app/routers/events.py +++ b/app/routers/events.py @@ -144,7 +144,7 @@ async def read_events( return list_events -@router.get("/events/search", tags=["events"], response_model=List[events.EventOut]) +@router.get("/events/search", tags=["events"], response_model=list[events.EventOut]) async def search_events( authorize: Annotated[bool, Depends(permissions_checker.PermissionChecker(roles=["Admin", "User"]))], skip: int = 0,