diff --git a/lib/oauth.js b/lib/oauth.js index c831254..840cedd 100644 --- a/lib/oauth.js +++ b/lib/oauth.js @@ -277,7 +277,7 @@ module.exports = new Model({ console.log(error); this._deleteBearerToken(); return null; - }); + }.bind(this)); }, _saveRedirectUri: function(redirectUri) {