fix(insights): better status

Signed-off-by: Deluan <deluan@navidrome.org>
This commit is contained in:
Deluan
2024-12-19 17:21:08 -05:00
parent 04f296cc73
commit 6bc4c0317f
5 changed files with 29 additions and 11 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ type Data struct {
Shares int64 `json:"shares"`
Radios int64 `json:"radios"`
ActiveUsers int64 `json:"activeUsers"`
ActivePlayers map[string]int64 `json:"activePlayers"`
ActivePlayers map[string]int64 `json:"activePlayers,omitempty"`
} `json:"library"`
Config struct {
LogLevel string `json:"logLevel,omitempty"`