transition time ranged queries to timeframe

This commit is contained in:
Gabe Farrell 2026-01-01 00:05:20 -05:00
parent ad3c51a70e
commit 24c101d35f
26 changed files with 2032 additions and 335 deletions

View file

@ -13,7 +13,7 @@ func SummaryHandler(store db.DB) http.HandlerFunc {
return func(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
l := logger.FromContext(ctx)
l.Debug().Msg("GetTopAlbumsHandler: Received request to retrieve top albums")
l.Debug().Msg("SummaryHandler: Received request to retrieve summary")
timeframe := TimeframeFromRequest(r)
summary, err := summary.GenerateSummary(ctx, store, 1, timeframe, "")