Skip to content

Commit

Permalink
Remove leftover troubleshooting fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
wolveix committed Jun 2, 2024
1 parent f2f78e5 commit 31d96d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ func (c *UserContext) makeRequestOld(method string, endpoint string, body url.Va
if resp != nil {
if object != nil {
if err = json.Unmarshal(resp, &object); err != nil {
fmt.Printf("ERROR HERE: %s\n", string(resp))
return nil, fmt.Errorf("error unmarshalling response: %w", err)
}
} else if err = json.Unmarshal(resp, &genericResponse); err == nil && genericResponse.Error != "" {
Expand Down

0 comments on commit 31d96d5

Please sign in to comment.