Fix accumulating total sessions

This commit is contained in:
Ingo Oppermann 2022-10-10 18:40:45 +02:00
parent 8314f71402
commit 6ef334331b
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -86,7 +86,7 @@ func (w *WidgetHandler) Get(c echo.Context) error {
continue
}
data.TotalSessions = s.TotalSessions
data.TotalSessions += s.TotalSessions
}
return c.JSON(http.StatusOK, data)