From 983f42a89194edb9712e8a718ae1a7497345cb45 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Sun, 23 Mar 2025 12:19:23 +0100 Subject: [PATCH] Update code in endpoints/france.post.py --- endpoints/france.post.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/endpoints/france.post.py b/endpoints/france.post.py index c003adc..6fcd098 100644 --- a/endpoints/france.post.py +++ b/endpoints/france.post.py @@ -12,7 +12,7 @@ states_in_france = [ "Hauts-de-France", "Île-de-France", "Normandie", - "Nouvelle-Aquitaine", + "Nouvelle-Aquitaine", "Occitanie", "Pays de la Loire", "Provence-Alpes-Côte d'Azur" @@ -20,10 +20,10 @@ states_in_france = [ @router.post("/france") async def get_states_in_france(): - """Returns list of states in France""" + """endpoint that returns list of states in france""" if request.method != "POST": raise HTTPException(status_code=405, detail="Method Not Allowed") - + return { "method": "POST", "_verb": "post",