From 3d13dc1829c1acc44714ad0a2d9013663a057967 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Wed, 15 May 2024 10:39:01 -0400 Subject: [PATCH] Fixed incorrect min length --- app/routers/e_confex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/routers/e_confex.py b/app/routers/e_confex.py index 8a22396..220dc2c 100644 --- a/app/routers/e_confex.py +++ b/app/routers/e_confex.py @@ -31,8 +31,8 @@ router = APIRouter() # Updated 2024-04-25 @router.get('/event/{e_confex_event_id}/import_reg', response_model=Resp_Body_Base) async def import_event_session_list( - e_confex_event_id: str = Path(min_length=3, max_length=22), # For AAPOR: aapor_2023 (2024-05); aapor_2023 (2023-05) - e_confex_session_id: str = Query(None, min_length=5, max_length=22), + e_confex_event_id: str = Path(min_length=5, max_length=22), # For AAPOR: aapor_2023 (2024-05); aapor_2023 (2023-05) + e_confex_session_id: str = Query(None, min_length=3, max_length=22), event_id: str = Query(min_length=11, max_length=22), # For AAPOR: MCz-Qm-48-j1 (1513 2024-05) 9jW-Db-SF-wt (1478 2023-05); x2H2P2MYlXU (1447 2022-05) # Account ID For AAPOR: j5EBhRDqPuw (20)