From 8950dfef68814b9f0d0a9d22b72dd00e2a8332f0 Mon Sep 17 00:00:00 2001 From: jcharra Date: Fri, 4 Oct 2024 22:06:40 +0200 Subject: [PATCH] use latest openweather api --- src/app/services/weather.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {