mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-12 22:24:18 +01:00
Fix debug
Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
This commit is contained in:
3
vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go
generated
vendored
3
vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go
generated
vendored
@@ -349,8 +349,7 @@ func (c *XtreamClient) sendRequest(action string, parameters url.Values) ([]byte
|
||||
data := buf.Bytes()
|
||||
|
||||
if _, ok := os.LookupEnv("XTREAM_DEBUG"); ok {
|
||||
j, _ := json.MarshalIndent(data, "", " ")
|
||||
log.Println(string(j))
|
||||
log.Println(string(data))
|
||||
}
|
||||
|
||||
return data, nil
|
||||
|
||||
Reference in New Issue
Block a user