diff --git a/internal/radio/listener_counter.go b/internal/radio/listener_counter.go index c423ef8..cc10bc6 100644 --- a/internal/radio/listener_counter.go +++ b/internal/radio/listener_counter.go @@ -86,8 +86,10 @@ func (l *ListenerCounter) MarshalJSON() ([]byte, error) { Current int64 `json:"current"` Peak int64 `json:"peak"` Overall int64 `json:"overall"` + CurPeak int64 `json:"current_peak"` }{ Current: l.current, Peak: l.peak, - Overall: l.overall}) + Overall: l.overall, + CurPeak: l.cur_peak}) }