From 1ac2a8da4421f8a25bf377d5f688bcbca87e7609 Mon Sep 17 00:00:00 2001 From: seppen Date: Sun, 5 Jul 2015 19:57:24 +0300 Subject: [PATCH] fixed var name --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }