From 287fc45a0da5a662d38c7f8b229454cd08a7aae2 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Sun, 23 Mar 2025 11:34:47 +0100 Subject: [PATCH] Update code in endpoints/france.post.py --- endpoints/france.post.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/endpoints/france.post.py b/endpoints/france.post.py index a256520..c003adc 100644 --- a/endpoints/france.post.py +++ b/endpoints/france.post.py @@ -20,10 +20,10 @@ states_in_france = [ @router.post("/france") async def get_states_in_france(): - """endpoint that returns list of states in france""" + """Returns list of states in France""" if request.method != "POST": raise HTTPException(status_code=405, detail="Method Not Allowed") - + return { "method": "POST", "_verb": "post",