Updated web.Index() call in a handler.
This commit is contained in:
parent
184561ab29
commit
95e9d97a22
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user