From d9115e663095e694da8374c0e6bd97211fd6bff1 Mon Sep 17 00:00:00 2001 From: Justintime50 <39606064+Justintime50@users.noreply.github.com> Date: Mon, 13 May 2024 11:40:31 -0600 Subject: [PATCH] fix: fundWallet reference for Node docs --- official/docs/node/current/billing/fund.js | 2 +- official/docs/node/v5/billing/fund.js | 2 +- official/docs/node/v6/billing/fund.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/official/docs/node/current/billing/fund.js b/official/docs/node/current/billing/fund.js index 786effee..610f40f6 100644 --- a/official/docs/node/current/billing/fund.js +++ b/official/docs/node/current/billing/fund.js @@ -3,5 +3,5 @@ const EasyPostClient = require('@easypost/api'); const client = new EasyPostClient('EASYPOST_API_KEY'); (async () => { - await client.Billing.fund('2000', 'primary'); + await client.Billing.fundWallet('2000', 'primary'); })(); diff --git a/official/docs/node/v5/billing/fund.js b/official/docs/node/v5/billing/fund.js index edc2b08b..35bac086 100644 --- a/official/docs/node/v5/billing/fund.js +++ b/official/docs/node/v5/billing/fund.js @@ -2,4 +2,4 @@ const Easypost = require('@easypost/api'); const api = new Easypost('EASYPOST_API_KEY'); -api.Billing.fund('2000', 'primary').then(console.log); +api.Billing.fundWallet('2000', 'primary').then(console.log); diff --git a/official/docs/node/v6/billing/fund.js b/official/docs/node/v6/billing/fund.js index 786effee..610f40f6 100644 --- a/official/docs/node/v6/billing/fund.js +++ b/official/docs/node/v6/billing/fund.js @@ -3,5 +3,5 @@ const EasyPostClient = require('@easypost/api'); const client = new EasyPostClient('EASYPOST_API_KEY'); (async () => { - await client.Billing.fund('2000', 'primary'); + await client.Billing.fundWallet('2000', 'primary'); })();