Skip to content

Commit

Permalink
*Expose UnauthorizedError
Browse files Browse the repository at this point in the history
  • Loading branch information
siyangbi committed Aug 2, 2016
1 parent 15da043 commit a6a3605
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ module.exports = function(options) {
};

middleware.unless = unless;
middleware.UnauthorizedError = UnauthorizedError;

return middleware;
};

0 comments on commit a6a3605

Please sign in to comment.