Skip to content

Commit

Permalink
hack: try and make bug clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
frrist committed Jan 29, 2024
1 parent 31693b0 commit 65c5cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/publicapi/client/v2/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"compress/gzip"
"encoding/json"
"errors"
"fmt"
"io"
"net/http"
)
Expand All @@ -31,6 +32,7 @@ func encodeBody(obj interface{}) (io.Reader, error) {
if err := enc.Encode(obj); err != nil {
return nil, err
}
fmt.Println("Encoded HTTP Body: ", buf.String())
return buf, nil
}

Expand Down

0 comments on commit 65c5cd4

Please sign in to comment.