diff --git a/routes/api.go b/routes/api.go index 948df0e..3178a31 100644 --- a/routes/api.go +++ b/routes/api.go @@ -24,15 +24,15 @@ func GetPlayerCounts(db *sql.DB, logger *log.Logger) http.HandlerFunc { case "7d": timeRange = 7 * 60 * 24 - precision = 15 + precision = 30 case "30d": timeRange = 30 * 60 * 24 - precision = 60 + precision = 2 * 60 case "356d": timeRange = 356 * 60 * 24 - precision = 60 * 12 + precision = 60 * 24 default: http.Error(res, "invalid time range", http.StatusBadRequest)