Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Braintree::OAuthGateway#revoke_access_token ErrorResult is used in an invalid way #226

Open
jameswritescode opened this issue Apr 23, 2022 · 2 comments
Labels

Comments

@jameswritescode
Copy link

General information

  • SDK/Library version: 4.7 but present in master
  • Environment: N/A
  • Language, language version, and OS: N/A

Issue description

When calling on OAuthGateway#revoke_access_token you could possibly get an ErrorResult, but the second parameter of ErrorResult is expected to be a Hash, not a String.

https://github.com/braintree/braintree_ruby/blob/4.7.0/lib/braintree/oauth_gateway.rb#L41

@hollabaq86
Copy link
Contributor

👋 @jameswritescode Thanks for bringing this to our attention! We'll partner with the engineering team that owns OAuth to get this fixed.

@hollabaq86
Copy link
Contributor

for internal tracking, ticket 1906

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants