Get server history for the last 30 days, instead of the last 7

This commit is contained in:
A. Svensson 2017-08-14 17:02:28 +02:00
parent 0f4a744dad
commit 484477daab

View File

@ -94,7 +94,7 @@ func (a *App) pageWeeklyChart(w http.ResponseWriter, r *http.Request, vars handl
func (a *App) pageAverageChart(w http.ResponseWriter, r *http.Request, vars handlerVars) error {
id := vars["id"]
points, err := a.store.GetSingleServerHistory(id, 7)
points, err := a.store.GetSingleServerHistory(id, 30)
if err != nil {
return err
}