From 487f954a3688f31d5bcc5ba614cde4da3d5deedb Mon Sep 17 00:00:00 2001 From: Robin Schneider Date: Wed, 13 Oct 2021 13:51:39 +0200 Subject: Fixes apikey inconsistency --- src/components/services/OpenWeather.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { 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) { -- cgit v1.2.3