Update code in endpoints/open.post.py

This commit is contained in:
Backend IM Bot 2025-03-23 16:05:01 +01:00
parent d8dae32ee6
commit 30a6533109

View File

@ -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":