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

SetForceSSL Hostname parameter expects to be string not int #148

Merged
merged 1 commit into from
Jan 22, 2025

Conversation

acohin
Copy link
Contributor

@acohin acohin commented Jan 22, 2025

Hiya. Found a small bug while exploring some automation using the Bunny api.

The Bunny SetForceSSL endpoint expects the Hostname parameter to be string, while the \ToshY\BunnyNet\Model\API\Base\PullZone\SetForceSSL class defines this parameter as int.

Simply changed the definition to string, this fixes the issue.

@ToshY
Copy link
Owner

ToshY commented Jan 22, 2025

Hey @acohin 👋

Thank you for the PR! That bug has been in there for quite some time as well it seems. Good find.

The fix seems fine as it corresponds to the API specs, but just to be sure I will test it manually later this evening.

I'll keep you posted.

Copy link
Owner

@ToshY ToshY left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm; mannually tested also ok.

@ToshY ToshY merged commit c88fec2 into ToshY:master Jan 22, 2025
16 checks passed
@ToshY
Copy link
Owner

ToshY commented Jan 22, 2025

@acohin This has been released in 5.0.1.

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.

None yet

2 participants