Skip to content

Commit

Permalink
Fixed a typo error in code
Browse files Browse the repository at this point in the history
  • Loading branch information
bejoy-ep committed Aug 22, 2016
1 parent 82008b7 commit 4db350d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ OAuth2Strategy.prototype.authenticate = function(req, options) {

self._oauth2.getOAuthAccessToken(code, params,
function(err, accessToken, refreshToken, params) {
if (err) { return self.error(self._createOAuthError('Failed to obtain access token', err));
if (err) { return self.error(self._createOAuthError('Failed to obtain access token', err));}
if (params.error) {
var error = new Object();
error.statusCode = params.error;
Expand Down

0 comments on commit 4db350d

Please sign in to comment.