Skip to content

Commit

Permalink
Merge pull request #129 from EasyPost/node_fund_wallet
Browse files Browse the repository at this point in the history
fix: fundWallet reference for Node docs
  • Loading branch information
Justintime50 authored May 13, 2024
2 parents dc55a2d + d9115e6 commit afa9105
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion official/docs/node/current/billing/fund.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
})();
2 changes: 1 addition & 1 deletion official/docs/node/v5/billing/fund.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
2 changes: 1 addition & 1 deletion official/docs/node/v6/billing/fund.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
})();

0 comments on commit afa9105

Please sign in to comment.