Skip to content

Commit

Permalink
remove incorrect err ref
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Apr 15, 2018
1 parent b087e42 commit 68bec1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion npm-shrinkwrap.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions oauth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ module.exports.init = function(config, logger, stats) {
}
if (!isValid) {
if (config.allowInvalidAuthorization) {
console.warn('ignoring err', err);
console.warn('ignoring err');
return next();
} else {
debug('invalid token');
Expand Down Expand Up @@ -247,7 +247,7 @@ module.exports.init = function(config, logger, stats) {
}
if (!isValid) {
if (config.allowInvalidAuthorization) {
console.warn('ignoring err', err);
console.warn('ignoring err');
return next();
} else {
debug('invalid token');
Expand Down Expand Up @@ -427,4 +427,4 @@ function sendError(req, res, next, logger, stats, code, message) {
stats.incrementStatusCount(res.statusCode);
next(code, message);
return code;
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "microgateway-plugins",
"version": "2.3.21",
"version": "2.3.22",
"description": "Plugins for Apige Edge Microgateway",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 68bec1a

Please sign in to comment.