updated types
This commit is contained in:
parent
017ec0a38b
commit
0a64a2100a
@ -81,8 +81,8 @@ func FetchData(wc *WeatherConfig, city string) (Data, error) {
|
||||
}
|
||||
|
||||
d.Points = map[string]interface{}{"temperature": d.Main.Temperature,
|
||||
"humidity": float64(d.Main.Humidity),
|
||||
"pressure": float64(d.Main.Pressure)}
|
||||
"humidity": d.Main.Humidity,
|
||||
"pressure": d.Main.Pressure}
|
||||
|
||||
return d, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user