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

Get rid of redundant status argument in Http::wind #3049

Merged
merged 2 commits into from
Nov 18, 2024

Conversation

GnomedDev
Copy link
Member

Turns out this was always being passed 204, except one case where it should have been deserialising the Member return type anyway. This fixes both issues.

@github-actions github-actions bot added model Related to the `model` module. http Related to the `http` module. labels Nov 18, 2024
@arqunis arqunis added enhancement An improvement to Serenity. fix A solution to an existing bug. breaking change The public API is changed, resulting in miscompilations or unexpected new behaviour for users labels Nov 18, 2024
src/http/client.rs Outdated Show resolved Hide resolved
@GnomedDev GnomedDev force-pushed the remove-wind-expected-param branch from 41ec61b to 8995b8f Compare November 18, 2024 20:05
@GnomedDev GnomedDev merged commit 099315f into serenity-rs:next Nov 18, 2024
21 checks passed
@GnomedDev GnomedDev deleted the remove-wind-expected-param branch November 18, 2024 20:11
mkrasnitski pushed a commit to mkrasnitski/serenity that referenced this pull request Dec 8, 2024
Turns out this was always being passed 204, except one case where it
should have been deserialising the `Member` return type anyway. This
fixes both issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change The public API is changed, resulting in miscompilations or unexpected new behaviour for users enhancement An improvement to Serenity. fix A solution to an existing bug. http Related to the `http` module. model Related to the `model` module.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants