fix jukebox default status - it shouldnt return a playlist

This commit is contained in:
Alex McGrath
2021-01-17 13:16:02 +00:00
committed by Senan Kelly
parent 665cb86afa
commit f16f09717c

View File

@@ -282,8 +282,7 @@ func (c *Controller) ServeJukebox(r *http.Request) *spec.Response {
}
// all actions except get are expected to return a status
sub := spec.NewResponse()
sub.JukeboxPlaylist = &spec.JukeboxPlaylist{
JukeboxStatus: getStatus(),
}
status := getStatus()
sub.JukeboxStatus = &status
return sub
}