Skip to content

Commit

Permalink
fix(http.go): removing variable that doesn't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
rneillj committed Oct 4, 2021
1 parent 1081294 commit 26cee4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 26cee4a

Please sign in to comment.