mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-24 01:38:50 +02:00
fix sensor data not being returned to api
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user