From bae33d090a27f46abcf5e8ccb252e89ab3eea1a0 Mon Sep 17 00:00:00 2001 From: Stephen Bird Date: Fri, 16 Jun 2017 13:22:09 -0700 Subject: [PATCH] Fix options not found error --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index d0e7f034..f26de838 100644 --- a/index.js +++ b/index.js @@ -31,7 +31,7 @@ export default class Auth0 { * @return {Users} */ users(token) { - const { domain, clientId, ...extras } = options; + const { domain, clientId, ...extras } = this.options; return new Users({baseUrl: domain, clientId, ...extras, token}); } };