From 52bf7e50d7b7b1ac5bd20df3a07543ab28bb7403 Mon Sep 17 00:00:00 2001 From: anniel-stripe <97691964+anniel-stripe@users.noreply.github.com> Date: Wed, 8 Mar 2023 09:56:49 -0800 Subject: [PATCH] Change httpProxy to httpAgent in README example (#1701) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c262c901c1..0738c971b0 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ if (process.env.http_proxy) { const ProxyAgent = require('https-proxy-agent'); const stripe = Stripe('sk_test_...', { - httpProxy: new ProxyAgent(process.env.http_proxy), + httpAgent: new ProxyAgent(process.env.http_proxy), }); } ```