Skip to content

Fix deleteAuthenticationMethodById#552

Merged
jimmyjames merged 2 commits intomasterfrom
fix-delete-auth-method
Jul 17, 2023
Merged

Fix deleteAuthenticationMethodById#552
jimmyjames merged 2 commits intomasterfrom
fix-delete-auth-method

Conversation

@jimmyjames
Copy link
Copy Markdown
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