From 95e9d97a220300f12172c0b7607c28d6c4815a3e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 13 Mar 2023 02:12:02 +0400 Subject: [PATCH] Updated web.Index() call in a handler. --- internal/http/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/http/handlers.go b/internal/http/handlers.go index 500cd0f..09ba47b 100644 --- a/internal/http/handlers.go +++ b/internal/http/handlers.go @@ -51,7 +51,7 @@ func (h *Handlers) Index(w http.ResponseWriter, r *http.Request) { } } - web.Index(utils.MainSite(r.Host), h.conf.ListLastNSongs, status, &songs, w) + web.Index(utils.MainSite(r.Host), h.conf.ListLastNSongs, status, &songs, r, w) } func (h *Handlers) Status(w http.ResponseWriter, r *http.Request) {