diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/components/services/OpenWeather.vue | 2 |
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) { |