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

Fix deleteAuthenticationMethodById #552

Merged
merged 2 commits into from
Jul 17, 2023
Merged

Conversation

jimmyjames
Copy link
Contributor

UsersEntity#deleteAuthentiationMethodById() fails when parsing the response body, since the response is a no-content 204 (API docs). This happens because the implementation was incorrectly using a BaseRequest instead of a VoidRequest. This PR fixes this by using VoidRequest and updates the test. Tested with unit tests and manually.

@jimmyjames jimmyjames added the review:small Small review label Jul 17, 2023
@jimmyjames jimmyjames requested a review from a team as a code owner July 17, 2023 18:33
@jimmyjames jimmyjames merged commit 084187e into master Jul 17, 2023
@jimmyjames jimmyjames deleted the fix-delete-auth-method branch July 17, 2023 23:27
@jimmyjames jimmyjames mentioned this pull request Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants