diff --git a/README.md b/README.md index fa77274..bdfe698 100644 --- a/README.md +++ b/README.md @@ -106,7 +106,7 @@ app.use(async function verifications(req, res, next){ bank_code:req.body.bank_code // '075' }) - return next() + await next() }) ``` diff --git a/package.json b/package.json index b2d0a9e..9ef0ac0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "paystack-node", - "version": "0.1.0", + "version": "0.2.0", "description": "A NodeJS wrapper for the Paystack API", "main": "index.js", "files": [