mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-22 19:49:31 -07:00
get current conditions direct from api
This commit is contained in:
@@ -42,7 +42,6 @@ class CurrentWeather extends WeatherDisplay {
|
|||||||
// station observations
|
// station observations
|
||||||
// eslint-disable-next-line no-await-in-loop
|
// eslint-disable-next-line no-await-in-loop
|
||||||
observations = await json(`${station.id}/observations`, {
|
observations = await json(`${station.id}/observations`, {
|
||||||
cors: true,
|
|
||||||
data: {
|
data: {
|
||||||
limit: 2,
|
limit: 2,
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user