Skip to content

Commit

Permalink
Http: fix sending request body
Browse files Browse the repository at this point in the history
  • Loading branch information
andig committed Dec 22, 2021
1 parent 70996f5 commit c5e2d97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provider/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ func (p *HTTP) IntGetter() func() (int64, error) {
// StringGetter sends string request
func (p *HTTP) StringGetter() func() (string, error) {
return func() (string, error) {
b, err := p.request()
b, err := p.request(p.body)
if err != nil {
return string(b), err
}
Expand Down

0 comments on commit c5e2d97

Please sign in to comment.