Skip to content

Commit fc645c2

Browse files
committed
API Key removed for weather API
1 parent 3730f51 commit fc645c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

weatherReport/weather_report.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function showWeatherDetails(event){
22
event.preventDefault();
33
const city= document.getElementById('city').value;
4-
const apiKey= '17f56ffff62d2fcb4a71ad3c971a9c95';
4+
const apiKey= API_KEY;
55
const apiUrl= `https://api.openweathermap.org/data/2.5/weather?q=${city}&appid=${apiKey}`;
66

77
fetch(apiUrl)

0 commit comments

Comments
 (0)