mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-16 19:05:54 -07:00
transition time ranged queries to timeframe (#117)
This commit is contained in:
parent
ad3c51a70e
commit
d327729bff
26 changed files with 2032 additions and 335 deletions
|
|
@ -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, "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue