Skip to content

Commit

Permalink
Change httpProxy to httpAgent in README example
Browse files Browse the repository at this point in the history
  • Loading branch information
anniel-stripe committed Mar 8, 2023
1 parent 718b6fa commit 8c2aad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
});
}
```
Expand Down

0 comments on commit 8c2aad4

Please sign in to comment.