Skip to content

Commit

Permalink
bumped weather api version to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-staffbase committed Jun 18, 2024
1 parent 9647b06 commit 9b130bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/weather-forecast/src/api/useWeather.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ type ForecastOptions = {
const getWeather = async ({
queryKey: [, options],
}: QueryFunctionContext<[string, ForecastOptions]>) => {
const endpoint = "https://api.openweathermap.org/data/2.5/onecall";
const endpoint = "https://api.openweathermap.org/data/3.0/onecall";
const {
units = "standard",
lang = options.lang ?? "en",
Expand Down

0 comments on commit 9b130bd

Please sign in to comment.