From 30a653310971400cc4cd4e7bdc065c57d36daaca Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Sun, 23 Mar 2025 16:05:01 +0100 Subject: [PATCH] Update code in endpoints/open.post.py --- endpoints/open.post.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/open.post.py b/endpoints/open.post.py index 225454c..97d16b1 100644 --- a/endpoints/open.post.py +++ b/endpoints/open.post.py @@ -15,7 +15,7 @@ towns_in_arizona = [ "Surprise" ] -@router.post("/open", status_code=200) +@router.post("/open") async def get_towns_in_arizona(): """Endpoint that returns list of towns in Arizona""" if request.method != "POST":