Merge pull request 'fix list' (#33) from feature/tags-search into master
Reviewed-on: #33
This commit is contained in:
commit
94d6db0866
@ -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