From 89bf42b946a6bf5344801cf72a60b0a15cab49e1 Mon Sep 17 00:00:00 2001 From: Tim Garthwaite Date: Thu, 11 Jan 2018 12:54:29 -0500 Subject: [PATCH] Fix typo --- lib/adapters/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/adapters/http.js b/lib/adapters/http.js index ce9137f..69e8e74 100644 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -128,7 +128,7 @@ module.exports = function httpAdapter(config) { transport = isHttps ? httpsFollow : httpFollow; } - if (config.maxContentLength && maxBodyLength > -1) { + if (config.maxContentLength && config.maxContentLength > -1) { options.maxBodyLength = config.maxContentLength; } -- GitLab