Skip to content

Commit

Permalink
Updated 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
PranshulGG committed Oct 21, 2024
1 parent 366f285 commit f586156
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/assets/app/renderWeather.js
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,7 @@ function UvIndex(uvIndexValue) {


function MoreDetails(latSum, lonSum) {
fetch(`https://api.weatherapi.com/v1/forecast.json?key=ALL_ENV&q=${latSum},${lonSum}`)
fetch(`https://api.weatherapi.com/v1/forecast.json?key=ALL_ENV_main&q=${latSum},${lonSum}`)
.then(response => response.json())
.then(data => {

Expand Down Expand Up @@ -1193,7 +1193,7 @@ function MoreDetails(latSum, lonSum) {
}

function astronomyData(latSum, lonSum) {
fetch(`https://api.weatherapi.com/v1/astronomy.json?key=ALL_ENV&q=${latSum},${lonSum}`)
fetch(`https://api.weatherapi.com/v1/astronomy.json?key=ALL_ENV_main&q=${latSum},${lonSum}`)
.then(response => response.json())
.then(data => {

Expand Down Expand Up @@ -1262,7 +1262,7 @@ function astronomyData(latSum, lonSum) {


function FetchAlert(lat, lon){
fetch(`https://api.weatherapi.com/v1/alerts.json?key=ALL_ENV&q=${lat},${lon}`)
fetch(`https://api.weatherapi.com/v1/alerts.json?key=ALL_ENV_main&q=${lat},${lon}`)
.then(response => response.json())
.then(data => {

Expand Down

0 comments on commit f586156

Please sign in to comment.