Skip to content

Commit c9f44c5

Browse files
authored
Merge pull request #28 from sparkplug/release-1.0.0
chore: update readme
2 parents 0e1b1bb + 21c4216 commit c9f44c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ const disbursements = Disbursements({
182182
const momo = require("mtn-momo");
183183

184184
// initialise momo library
185-
const { Disbursements } = momo({ callbackHost: process.env.CALLBACK_HOST });
185+
const { Disbursements } = momo.create({ callbackHost: process.env.CALLBACK_HOST });
186186

187187
// initialise disbursements
188188
const disbursements = Disbursements({

0 commit comments

Comments
 (0)