Skip to content

Commit

Permalink
use latest openweather api
Browse files Browse the repository at this point in the history
  • Loading branch information
jcharra committed Oct 4, 2024
1 parent 5ae6e2b commit 8950dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/services/weather.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class WeatherService {

return this.http
.get<Forecast>(
`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) => {
Expand Down

0 comments on commit 8950dfe

Please sign in to comment.