This commit is contained in:
Valentin CZERYBA 2024-12-18 23:52:42 +01:00
parent be17ec9202
commit 32f571103d

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(