From 08c97f280f30e4123a442990fb2bad40a24c10cb Mon Sep 17 00:00:00 2001 From: Julien Neuhart Date: Mon, 19 Aug 2019 16:50:32 +0200 Subject: [PATCH] typo in http client variable name --- internal/app/xhttp/handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/app/xhttp/handler.go b/internal/app/xhttp/handler.go index f526e312..de8468c1 100644 --- a/internal/app/xhttp/handler.go +++ b/internal/app/xhttp/handler.go @@ -289,10 +289,10 @@ func convertAsync(ctx context.Context, p printer.Printer, filename, fpath string filename, webhookURL, ) - httpclient := &http.Client{ + httpClient := &http.Client{ Timeout: xtime.Duration(webhookURLTimeout), } - resp, err := httpclient.Post(webhookURL, "application/pdf", f) /* #nosec */ + resp, err := httpClient.Post(webhookURL, "application/pdf", f) /* #nosec */ if err != nil { xerr := xerror.New(op, err) logger.ErrorOp(xerror.Op(xerr), xerr)