typo in http client variable name

This commit is contained in:
Julien Neuhart
2019-08-19 16:50:32 +02:00
parent 9c836a34ee
commit 08c97f280f

View File

@@ -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)