From c8eba8859199993bf3559d0205841ce739331cc5 Mon Sep 17 00:00:00 2001 From: Automated Action Date: Tue, 27 May 2025 20:57:58 +0000 Subject: [PATCH] Configure OpenWeatherMap API key in settings - Add default OpenWeatherMap API key to enable weather service functionality - Maintain environment variable override capability - Ensure weather API endpoints can fetch data properly --- app/core/config.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/core/config.py b/app/core/config.py index 1fb371b..7d8a026 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -18,7 +18,8 @@ class Settings(BaseSettings): CORS_ORIGINS: List[str] = ["*"] # OpenWeather API - OPENWEATHER_API_KEY: str = "" + # Default API key - will be overridden by environment variables if provided + OPENWEATHER_API_KEY: str = "e052c4432a398359e6da213be33c17d4" OPENWEATHER_API_URL: str = "https://api.openweathermap.org/data/2.5" # JWT