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.
2 parents 0e1b1bb + 21c4216 commit c9f44c5Copy full SHA for c9f44c5
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