From e7bfdf72198ab88a9671f54bdf7ff4f90a19e0cd Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 14 Dec 2023 19:52:52 +0000 Subject: [PATCH] Remove unused cities endpoint --- webapp/main.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webapp/main.py b/webapp/main.py index f61a12f..4640f23 100644 --- a/webapp/main.py +++ b/webapp/main.py @@ -31,11 +31,6 @@ def countries(): return list(data.keys()) -@app.get('/countries/{country}') -def cities(country: str): - return list(data[country].keys()) - - @app.get('/countries/{country}/{city}/{month}') def monthly_average(country: str, city: str, month: str): return data[country][city][month]