mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +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