Skip to content

Commit

Permalink
Merge pull request #2 from Codigami/master-v3-api-fix
Browse files Browse the repository at this point in the history
bug fix: use correct user profile url
  • Loading branch information
somprabhsharma authored Nov 11, 2020
2 parents 4edbe93 + e270e79 commit e1e3f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/passport-pinterest/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Strategy(options, verify) {
this.name = 'pinterest';
this._oauth2.useAuthorizationHeaderforGET(true);

this._profileURL = options.profileURL || 'https://api.pinterest.com/v3/users/me';
this._profileURL = options.profileURL || 'https://api.pinterest.com/v3/users/me/';

}

Expand Down

0 comments on commit e1e3f4b

Please sign in to comment.