From 32f571103db2dbd1fd6a855f1e09005960ef57ec Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Wed, 18 Dec 2024 23:52:42 +0100 Subject: [PATCH] fix list --- app/routers/events.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/events.py b/app/routers/events.py index b28cbd3..39dfd82 100644 --- a/app/routers/events.py +++ b/app/routers/events.py @@ -159,7 +159,7 @@ async def search_events( date_event: Union[datetime, None] = None, start_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: raise HTTPException(