Skip to content

Commit

Permalink
chore: update readme
Browse files Browse the repository at this point in the history
BREAKING CHANGE: now have to call `create` to configure the module
  • Loading branch information
ernest-okot committed Feb 14, 2019
1 parent 0e1b1bb commit 21c4216
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 @@ -182,7 +182,7 @@ const disbursements = Disbursements({
const momo = require("mtn-momo");

// initialise momo library
const { Disbursements } = momo({ callbackHost: process.env.CALLBACK_HOST });
const { Disbursements } = momo.create({ callbackHost: process.env.CALLBACK_HOST });

// initialise disbursements
const disbursements = Disbursements({
Expand Down

0 comments on commit 21c4216

Please sign in to comment.