diff --git a/app/weather.py b/app/weather.py index c7e8819..9080023 100644 --- a/app/weather.py +++ b/app/weather.py @@ -38,7 +38,7 @@ async def fetch_weather_data(city: str, date: str) -> dict: """ async with httpx.AsyncClient() as client: try: - response = await client.get(WEATHER_API_URL, params={"key": API_KEY, "q": city, "dt": date}) + response = await client.get(Config.WEATHER_API_URL, params={"key": Config.API_KEY, "q": city, "dt": date}) response.raise_for_status() data = response.json()