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,