From 2dc7706c0f827528263cea8a59ad0980b25dad7e Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Sun, 23 Mar 2025 16:06:01 +0100 Subject: [PATCH] Update code in endpoints/open.post.py --- endpoints/open.post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints/open.post.py b/endpoints/open.post.py index 97d16b1..df138b7 100644 --- a/endpoints/open.post.py +++ b/endpoints/open.post.py @@ -16,8 +16,8 @@ towns_in_arizona = [ ] @router.post("/open") -async def get_towns_in_arizona(): - """Endpoint that returns list of towns in Arizona""" +async def get_arizona_towns(): + """endpoint that returns list of town in arizona""" if request.method != "POST": raise HTTPException(status_code=405, detail="Method Not Allowed")