Skip to content

Commit

Permalink
Merge pull request #109 from messagebird/express-middleware-stop-call…
Browse files Browse the repository at this point in the history
…back

ExpressMiddlewareVerify stop the callback chain
  • Loading branch information
dysosmus authored Jun 16, 2022
2 parents ee76ae2 + 44c26f2 commit a6ee140
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webhook-signature-jwt.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function ExpressMiddlewareVerify(secret, opts = DefaultVerifyOptions) {
body = req.body;
}

return verify(url, body, jwt, sk, opts);
verify(url, body, jwt, sk, opts);
}).then(next).catch(err => next(err));
};
}
Expand Down

0 comments on commit a6ee140

Please sign in to comment.