mirror of
https://github.com/owncast/owncast.git
synced 2024-11-21 20:28:15 +03:00
Always return stream title with yp response
This commit is contained in:
parent
4178ccc180
commit
f1a1b9d2e6
1 changed files with 1 additions and 4 deletions
|
@ -35,10 +35,7 @@ func GetYPResponse(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
status := getStatus()
|
||||
|
||||
streamTitle := ""
|
||||
if status.Online {
|
||||
streamTitle = data.GetStreamTitle()
|
||||
}
|
||||
streamTitle := data.GetStreamTitle()
|
||||
|
||||
response := ypDetailsResponse{
|
||||
Name: data.GetServerName(),
|
||||
|
|
Loading…
Reference in a new issue