We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd0a92c commit b79273dCopy full SHA for b79273d
1 file changed
examples/Weather-app/script.js
@@ -16,7 +16,7 @@ async function getWeatherInfo(city) {
16
}
17
18
let res = await fetch(
19
- `https://api.openweathermap.org/data/2.5/weather?q=${city}&units=metric&appid=6244ab888f079565d5ce1deabddc3f77`
+ `https://api.openweathermap.org/data/2.5/weather?q=${city}&units=metric&appid=${apiKey}`
20
);
21
console.log(res);
22
if (!res.ok) {
0 commit comments