aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services/OpenWeather.vue
diff options
context:
space:
mode:
authorRobin Schneider <robin-schneider@outlook.de>2021-10-13 13:51:39 +0200
committerRobin Schneider <robin-schneider@outlook.de>2021-10-13 13:51:39 +0200
commit487f954a3688f31d5bcc5ba614cde4da3d5deedb (patch)
tree698410b99bde554ce90e012f2dcc49148edb9ce1 /src/components/services/OpenWeather.vue
parent54c19bb5f0f1ac4bbbbe3a3f3aa68b316d7c370f (diff)
downloadhomer-487f954a3688f31d5bcc5ba614cde4da3d5deedb.tar.gz
homer-487f954a3688f31d5bcc5ba614cde4da3d5deedb.tar.zst
homer-487f954a3688f31d5bcc5ba614cde4da3d5deedb.zip
Fixes apikey inconsistency
Diffstat (limited to 'src/components/services/OpenWeather.vue')
-rw-r--r--src/components/services/OpenWeather.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/services/OpenWeather.vue b/src/components/services/OpenWeather.vue
index 09ff76a..7352b9b 100644
--- a/src/components/services/OpenWeather.vue
+++ b/src/components/services/OpenWeather.vue
@@ -64,7 +64,7 @@ export default {
64 locationQuery = `q=${this.item.location}`; 64 locationQuery = `q=${this.item.location}`;
65 } 65 }
66 66
67 const url = `https://api.openweathermap.org/data/2.5/weather?${locationQuery}&appid=${this.item.apiKey}&units=${this.item.units}`; 67 const url = `https://api.openweathermap.org/data/2.5/weather?${locationQuery}&appid=${this.item.apikey}&units=${this.item.units}`;
68 fetch(url) 68 fetch(url)
69 .then((response) => { 69 .then((response) => {
70 if (!response.ok) { 70 if (!response.ok) {