fix list #33
@ -144,7 +144,7 @@ async def read_events(
|
|||||||
return list_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(
|
async def search_events(
|
||||||
authorize: Annotated[bool, Depends(permissions_checker.PermissionChecker(roles=["Admin", "User"]))],
|
authorize: Annotated[bool, Depends(permissions_checker.PermissionChecker(roles=["Admin", "User"]))],
|
||||||
skip: int = 0,
|
skip: int = 0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user