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

improve getJsonBody error output #200

Merged
merged 1 commit into from
Sep 19, 2024
Merged

improve getJsonBody error output #200

merged 1 commit into from
Sep 19, 2024

Conversation

chris-martin
Copy link
Contributor

@chris-martin chris-martin commented Sep 19, 2024

getJsonBody now just passes through to yesod-test, and getCsvBody is a copy of what that does.

I'm being lazy and skipping over the CSV content type check right now because I don't immediately know what the MIME type is or if we always set it correctly in our app.

@chris-martin chris-martin requested review from a team, stackptr, pbrisbin and mjgpy3 and removed request for a team and stackptr September 19, 2024 17:16
@chris-martin chris-martin force-pushed the chris/json branch 3 times, most recently from fe21438 to c1f6970 Compare September 19, 2024 17:22
@chris-martin chris-martin merged commit 53e8c85 into main Sep 19, 2024
5 of 6 checks passed
@chris-martin chris-martin deleted the chris/json branch September 19, 2024 17:55
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