From 632dfd450f0b04b359c17057af91a23b353cf66d Mon Sep 17 00:00:00 2001 From: Pranshul Date: Sat, 24 Aug 2024 13:27:57 +0530 Subject: [PATCH] Update app.js --- app/src/main/assets/app/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/src/main/assets/app/app.js b/app/src/main/assets/app/app.js index ebadd1a26..2f633e1d8 100644 --- a/app/src/main/assets/app/app.js +++ b/app/src/main/assets/app/app.js @@ -404,7 +404,7 @@ function loadSavedLocations() { const savedLocationItemLon = savedLocationItem.getAttribute('lon'); - const apiKeySaved = '120d979ba5b2d0780f51872890f5ad0b'; + const apiKeySaved = 'Keys here'; const apiUrlSaved = `https://api.openweathermap.org/data/2.5/weather?lat=${savedLocationItemLat}&lon=${savedLocationItemLon}&appid=${apiKeySaved}&units=metric`; @@ -626,7 +626,7 @@ function getCountryName(code) { function getWeather(city, latitude, longitude) { showLoader(); - const apiKey = '120d979ba5b2d0780f51872890f5ad0b'; + const apiKey = 'Keys here'; const apiUrl = `https://api.openweathermap.org/data/2.5/weather?lat=${latitude}&lon=${longitude}&appid=${apiKey}&units=metric`; setTimeout(() => { @@ -1117,7 +1117,7 @@ function getCurrentLocationWeather() { function getWeatherByCoordinates(latitude, longitude) { showLoader(); - const apiKey = '120d979ba5b2d0780f51872890f5ad0b'; + const apiKey = 'Keys here'; const apiUrl = `https://api.openweathermap.org/data/2.5/weather?lat=${latitude}&lon=${longitude}&appid=${apiKey}&units=metric`; @@ -1633,7 +1633,7 @@ function getColor(value, type) { function updateSunTrackProgress(latitude, longitude) { - const apiKey = '120d979ba5b2d0780f51872890f5ad0b'; + const apiKey = 'Keys here'; const apiUrl = `https://api.openweathermap.org/data/2.5/weather?lat=${latitude}&lon=${longitude}&appid=${apiKey}&units=metric`; fetch(apiUrl)