transition time ranged queries to timeframe (#117)

This commit is contained in:
Gabe Farrell 2026-01-01 01:56:16 -05:00 committed by GitHub
parent ad3c51a70e
commit d327729bff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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, "")