]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - src/components/services/OpenWeather.vue
Fixes apikey inconsistency
[github/bastienwirtz/homer.git] / src / components / services / OpenWeather.vue
index 09ff76a3d07e04ec9c015fba6d727b5b3042af9a..7352b9be0ea4d540e8cb288948621eca4ee4da7b 100644 (file)
@@ -64,7 +64,7 @@ export default {
         locationQuery = `q=${this.item.location}`;
       }
 
-      const url = `https://api.openweathermap.org/data/2.5/weather?${locationQuery}&appid=${this.item.apiKey}&units=${this.item.units}`;
+      const url = `https://api.openweathermap.org/data/2.5/weather?${locationQuery}&appid=${this.item.apikey}&units=${this.item.units}`;
       fetch(url)
         .then((response) => {
           if (!response.ok) {