mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-16 20:32:13 +01:00
typo in http client variable name
This commit is contained in:
@@ -289,10 +289,10 @@ func convertAsync(ctx context.Context, p printer.Printer, filename, fpath string
|
|||||||
filename,
|
filename,
|
||||||
webhookURL,
|
webhookURL,
|
||||||
)
|
)
|
||||||
httpclient := &http.Client{
|
httpClient := &http.Client{
|
||||||
Timeout: xtime.Duration(webhookURLTimeout),
|
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 {
|
if err != nil {
|
||||||
xerr := xerror.New(op, err)
|
xerr := xerror.New(op, err)
|
||||||
logger.ErrorOp(xerror.Op(xerr), xerr)
|
logger.ErrorOp(xerror.Op(xerr), xerr)
|
||||||
|
|||||||
Reference in New Issue
Block a user