Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Error Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseWx2011 authored Jul 4, 2024
1 parent 6ba50b7 commit cab0fdf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions js/scriptcc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
const values = window.location.search;

const parameters = new URLSearchParams(values);
const newcity = parameters.get('city');.
const newcity = parameters.get('city');
const oldlang = parameters.get('lang')


Expand All @@ -25,12 +25,6 @@
"lat": `${lat}`,
"lon": `${lon}`
}
function error() {
if (error.code === "maxhits_daily") {
client_id = `wgE96YE3scTQLKjnqiMsv`; // This is your client id from aeris weather.
client_secret = `SVG2gQFV8y9DjKR0BRY9wPoSLvrMrIqF9Lq2IYaY` // This is your client secret from aeris weather.
}};
error()
state = response[0].place.state
tempFarenheit = response[0].periods[0].tempF
tempC = response[0].periods[0].tempC
Expand Down

0 comments on commit cab0fdf

Please sign in to comment.