Skip to content

Commit

Permalink
Merge pull request #328 from bootandy/patch-1
Browse files Browse the repository at this point in the history
Error description in InvalidRequestError should be oauth1 not oauth2
  • Loading branch information
thedrow committed Jul 19, 2015
2 parents 311b57c + 0d2a775 commit baea1c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauthlib/oauth1/rfc5849/endpoints/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _create_request(self, uri, http_method, body, headers):
# receiving a request with duplicated protocol parameters.
if len(dict(oauth_params)) != len(oauth_params):
raise errors.InvalidRequestError(
description='Duplicate OAuth2 entries.')
description='Duplicate OAuth1 entries.')

oauth_params = dict(oauth_params)
request.signature = oauth_params.get('oauth_signature')
Expand Down

0 comments on commit baea1c8

Please sign in to comment.