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

Reviewed-on: #34
This commit is contained in:
v4l3n71n 2024-12-18 23:53:28 +01:00
commit f880b1e6a4

View File

@ -159,7 +159,7 @@ async def search_events(
date_event: Union[datetime, None] = None, date_event: Union[datetime, None] = None,
start_date: Union[datetime, None] = None, start_date: Union[datetime, None] = None,
end_date: Union[datetime, None] = None, end_date: Union[datetime, None] = None,
tags: Union[List[str], None] = None, tags: Union[list[str], None] = None,
): ):
if limit < 1 or skip < 0 or limit < skip: if limit < 1 or skip < 0 or limit < skip:
raise HTTPException( raise HTTPException(