diff --git a/src/app/services/weather.service.ts b/src/app/services/weather.service.ts index 687394a..0c4f654 100644 --- a/src/app/services/weather.service.ts +++ b/src/app/services/weather.service.ts @@ -57,7 +57,7 @@ export class WeatherService { return this.http .get( - `https://api.openweathermap.org/data/2.5/onecall?lat=${lat}&lon=${lng}&appid=${API_KEY}&units=metric&exclude=hourly,minutely,alerts` + `https://api.openweathermap.org/data/3.0/onecall?lat=${lat}&lon=${lng}&appid=${API_KEY}&units=metric&exclude=hourly,minutely,alerts` ) .pipe( map((fc: Forecast) => {