Skip to content

Commit

Permalink
Fix options not found error (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebirdman authored and hzalaz committed Jun 16, 2017
1 parent 7db96fc commit 2cc8e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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});
}
};

0 comments on commit 2cc8e46

Please sign in to comment.