From 419d594f8371df5a4df60b6ea5aa50fca399f6dd Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com> Date: Thu, 6 Jan 2022 11:15:45 +0000 Subject: [PATCH] Fix debug Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com> --- vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go b/vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go index 5bc5ad0..60c6d2a 100644 --- a/vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go +++ b/vendor/github.com/tellytv/go.xtream-codes/xtream-codes.go @@ -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