diff --git a/http.go b/http.go index 9916bb2..024ce6d 100644 --- a/http.go +++ b/http.go @@ -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, method, u, nil) + req, err := http.NewRequestWithContext(ctx, m, u, nil) if err != nil { return err }