Skip to content

Commit

Permalink
fix closing wrong response body
Browse files Browse the repository at this point in the history
  • Loading branch information
bcmmbaga committed May 22, 2019
1 parent 11a3f1f commit 7ed7afe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func (c *Client) Do(req *http.Request) (*http.Response, error) {
if err != nil {
return nil, err
}
defer res.Body.Close()

debug.DumpResponse(res)
return res, nil
Expand Down

0 comments on commit 7ed7afe

Please sign in to comment.