fix(http.go): removing variable that doesn't exist

This commit is contained in:
censhin 2021-10-04 15:37:49 -04:00
parent 1081294c45
commit 26cee4afba

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, method, u, nil)
req, err := http.NewRequestWithContext(ctx, m, u, nil)
if err != nil {
return err
}