diff --git a/lib/index.js b/lib/index.js index ef96b89..4c66b66 100644 --- a/lib/index.js +++ b/lib/index.js @@ -58,7 +58,7 @@ function noQsMethod(options) { }; if(options.additional_auth && typeof options.additional_auth === 'function') { - options.options.additional_auth(decoded, onSuccess, onError); + options.additional_auth(decoded, onSuccess, onError); } else { onSuccess(); }