Always return stream title with yp response
This commit is contained in:
parent
4178ccc180
commit
f1a1b9d2e6
@ -35,10 +35,7 @@ func GetYPResponse(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
status := getStatus()
|
status := getStatus()
|
||||||
|
|
||||||
streamTitle := ""
|
streamTitle := data.GetStreamTitle()
|
||||||
if status.Online {
|
|
||||||
streamTitle = data.GetStreamTitle()
|
|
||||||
}
|
|
||||||
|
|
||||||
response := ypDetailsResponse{
|
response := ypDetailsResponse{
|
||||||
Name: data.GetServerName(),
|
Name: data.GetServerName(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user