fix jukebox default status - it shouldnt return a playlist
This commit is contained in:
committed by
Senan Kelly
parent
665cb86afa
commit
f16f09717c
@@ -282,8 +282,7 @@ func (c *Controller) ServeJukebox(r *http.Request) *spec.Response {
|
|||||||
}
|
}
|
||||||
// all actions except get are expected to return a status
|
// all actions except get are expected to return a status
|
||||||
sub := spec.NewResponse()
|
sub := spec.NewResponse()
|
||||||
sub.JukeboxPlaylist = &spec.JukeboxPlaylist{
|
status := getStatus()
|
||||||
JukeboxStatus: getStatus(),
|
sub.JukeboxStatus = &status
|
||||||
}
|
|
||||||
return sub
|
return sub
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user