fix(http.go): passing body to NewRequestWithContext() in makeRequest()

This commit is contained in:
censhin 2021-10-04 16:07:31 -04:00
parent 26cee4afba
commit bd86e3ce96

View File

@ -274,7 +274,7 @@ func (h *httpGetter) makeRequest(ctx context.Context, m string, in request, b io
url.QueryEscape(in.GetGroup()),
url.QueryEscape(in.GetKey()),
)
req, err := http.NewRequestWithContext(ctx, m, u, nil)
req, err := http.NewRequestWithContext(ctx, m, u, b)
if err != nil {
return err
}