Merge pull request 'fix list' (#33) from feature/tags-search into master

Reviewed-on: #33
This commit is contained in:
v4l3n71n 2024-12-18 23:48:18 +01:00
commit 94d6db0866

View File

@ -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,