X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/f3059b6aa517f9f8e204b2fa1913e2fdfccef570..00913df3521d967ac31ee22c23447b5aa711f2e6:/cmd/mobius-hotline-server/main.go diff --git a/cmd/mobius-hotline-server/main.go b/cmd/mobius-hotline-server/main.go index 63dc824..8407449 100644 --- a/cmd/mobius-hotline-server/main.go +++ b/cmd/mobius-hotline-server/main.go @@ -118,7 +118,7 @@ type statHandler struct { } func (sh *statHandler) RenderStats(w http.ResponseWriter, _ *http.Request) { - u, err := json.Marshal(sh.hlServer.Stats) + u, err := json.Marshal(sh.hlServer.CurrentStats()) if err != nil { panic(err) }