mirror of
https://github.com/yusing/godoxy.git
synced 2025-06-09 04:52:35 +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:
|
||||
aggregated := make([]map[string]any, 0, n)
|
||||
for _, entry := range entries {
|
||||
if entry.Sensors == nil {
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue