Skip to content

Conversation

jcubiro
Copy link

@jcubiro jcubiro commented Jul 3, 2025

What changes are being made? What problem are you solving?

Fixed a typo in the lib/cloudflare/custom_hostnames.rb file where :success was misspelled as :sucess in the response handling logic.

What feature/bug is being fixed here?

Bug fix: The typo in line 65 was causing the success check to fail, which would prevent proper handling of successful API responses in the patch method of the CustomHostname class. This lead to unnecessary RequestError exceptions being raised even when the API call was successful.

Types of Changes

  • Bug fix.

Contribution

@ioquatix
Copy link
Member

ioquatix commented Jul 3, 2025

Thanks for this. Let me fix CI and then I'll merge.

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

Successfully merging this pull request may close these issues.

2 participants