mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 13:02:33 +02:00
fix sensor data not being returned to api
This commit is contained in:
parent
f0b04afa11
commit
8d1e7f4331
1 changed files with 0 additions and 1 deletions
|
@ -546,7 +546,6 @@ func aggregate(entries []*SystemInfo, query url.Values) (total int, result Aggre
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
case querySensorTemperature:
|
case querySensorTemperature:
|
||||||
aggregated := make([]map[string]any, 0, n)
|
|
||||||
for _, entry := range entries {
|
for _, entry := range entries {
|
||||||
if entry.Sensors == nil {
|
if entry.Sensors == nil {
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Add table
Reference in a new issue