We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e1b1bb commit 21c4216Copy full SHA for 21c4216
README.md
@@ -182,7 +182,7 @@ const disbursements = Disbursements({
182
const momo = require("mtn-momo");
183
184
// initialise momo library
185
-const { Disbursements } = momo({ callbackHost: process.env.CALLBACK_HOST });
+const { Disbursements } = momo.create({ callbackHost: process.env.CALLBACK_HOST });
186
187
// initialise disbursements
188
const disbursements = Disbursements({
0 commit comments