auth0 / auth0-java

Java client library for the Auth0 platform
https://auth0.com
MIT License
286 stars 131 forks source link

Fix deleteAuthenticationMethodById #552

Closed jimmyjames closed 1 year ago

jimmyjames commented 1 year ago

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.