Fix MachineResponse: expose last_seen_at/created_at, clean status string

The status field was being decorated with "(last seen ...)" suffix
which broke frontend statusVariant() matching and prevented the
LastSeen column from showing the separate timestamp.

Changes:
- machineToResp() now returns clean status ("online"/"offline")
- MachineResponse includes last_seen_at and created_at as separate fields
- Fix whitespace typo in WakeCheckIntervalSeconds field
This commit is contained in:
2026-07-10 11:05:27 -04:00
parent 7a2a7a4935
commit bf9bcccde2
4 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import (
"github.com/syncserver/internal/syncengine"
)
var version = "1.0.41"
var version = "1.0.42"
func main() {
cfgPath := flag.String("config", "", "Path to config.yaml")