From 26cee4afba680f0a2841c63f56d9e2866d5b34a2 Mon Sep 17 00:00:00 2001 From: censhin Date: Mon, 4 Oct 2021 15:37:49 -0400 Subject: [PATCH] fix(http.go): removing variable that doesn't exist --- http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }