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

fix(rover-client): send request body as string #751

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

EverlastingBugstopper
Copy link
Contributor

fixes #748 - as part of #727, i separated the request body function from the actual HTTP call so that testing could be easier (don't need to add a codegen step for tests). unfortunately in doing so I converted the body to a String and kept sending it with reqwest::ReqwestBuilder::json which attempted to serialize the string instead of just sending it through. now we use reqwest::ReqwestBuilder::body after using serde_json::to_string which fixes the issue entirely.

@EverlastingBugstopper EverlastingBugstopper added the fix 🩹 fixes a bug label Aug 20, 2021
@EverlastingBugstopper EverlastingBugstopper added this to the v0.2.0 milestone Aug 20, 2021
@EverlastingBugstopper EverlastingBugstopper merged commit f6bbed8 into main Aug 20, 2021
@EverlastingBugstopper EverlastingBugstopper deleted the avery/fix-up-rover-client branch August 20, 2021 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix 🩹 fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rover config whoami is returning 500 errors on main
1 participant