From 8a92ffb6baa55d52ecac07aa821b5f32b5257963 Mon Sep 17 00:00:00 2001 From: Scott Idem Date: Mon, 23 Aug 2021 12:55:35 -0400 Subject: [PATCH] General code clean up. --- app/routers/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/api.py b/app/routers/api.py index 06aa845..5edea85 100644 --- a/app/routers/api.py +++ b/app/routers/api.py @@ -265,7 +265,7 @@ async def get_api_obj( @router.delete('/{obj_id}', response_model=Resp_Body_Base) async def delete_api_obj( - obj_id: str = Query(..., min_length=1, max_length=22), + obj_id: str = Query(..., min_length=11, max_length=22), x_account_id: str = Header(...), response: Response = Response, ):